Improvements and Bugfix - Version 1.6.8

#206
#205
This commit is contained in:
Kevin Röbert
2019-07-28 20:27:13 +02:00
parent 53de1eae53
commit dbe7c603f9
5 changed files with 18 additions and 10 deletions

View File

@@ -25,11 +25,6 @@
* @return {Array} redirectUrl or none
*/
function pureCleaning(url) {
// The URL is already cleaned
if(lastVisited === url) {
return url;
}
var cleanURL = url;
for (var i = 0; i < providers.length; i++) {

View File

@@ -158,7 +158,6 @@ function initSettings()
storage.badged_color = "ffa500";
storage.hashURL = "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.min.hash?job=hash%20rules";
storage.ruleURL = "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.min.json";
storage.reportServer = "https://clearurls.xn--rb-fka.it";
storage.contextMenuEnabled = true;
storage.historyListenerEnabled = true;

View File

@@ -69,9 +69,11 @@ function reload()
*/
function checkOSAndroid()
{
chrome.runtime.getPlatformInfo(function(info) {
os = info.os;
});
if(os === undefined || os === null || os === "") {
chrome.runtime.getPlatformInfo(function(info) {
os = info.os;
});
}
if(os == "android")
{