mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
@@ -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++) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user