Use new git.michael.is url
This commit is contained in:
parent
f9e3e0215e
commit
d8db69b21b
|
@ -193,8 +193,8 @@ function initSettings() {
|
||||||
storage.log = {"log": []};
|
storage.log = {"log": []};
|
||||||
storage.statisticsStatus = true;
|
storage.statisticsStatus = true;
|
||||||
storage.badged_color = "#ffa500";
|
storage.badged_color = "#ffa500";
|
||||||
storage.hashURL = "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
storage.hashURL = "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash";
|
||||||
storage.ruleURL = "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
storage.ruleURL = "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
storage.contextMenuEnabled = true;
|
storage.contextMenuEnabled = true;
|
||||||
storage.historyListenerEnabled = true;
|
storage.historyListenerEnabled = true;
|
||||||
storage.localHostsSkipping = true;
|
storage.localHostsSkipping = true;
|
||||||
|
@ -221,27 +221,23 @@ function initSettings() {
|
||||||
function replaceOldURLs(url) {
|
function replaceOldURLs(url) {
|
||||||
switch (url) {
|
switch (url) {
|
||||||
case "https://raw.githubusercontent.com/KevinRoebert/ClearUrls/master/data/rules.hash?flush_cache=true":
|
case "https://raw.githubusercontent.com/KevinRoebert/ClearUrls/master/data/rules.hash?flush_cache=true":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash";
|
||||||
case "https://raw.githubusercontent.com/KevinRoebert/ClearUrls/master/data/data.json?flush_cache=true":
|
case "https://raw.githubusercontent.com/KevinRoebert/ClearUrls/master/data/data.json?flush_cache=true":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/rules.hash":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/rules.hash":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.json":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.json":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.min.hash?job=hash%20rules":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.min.hash?job=hash%20rules":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.min.json":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.min.json":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.minify.json":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.minify.json":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/data.minify.json?job=hash%20rules":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/data.minify.json?job=hash%20rules":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json";
|
||||||
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.minify.hash?job=hash%20rules":
|
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.minify.hash?job=hash%20rules":
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash";
|
||||||
case "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json":
|
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.hash";
|
|
||||||
case "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash":
|
|
||||||
return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash";
|
|
||||||
default:
|
default:
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user