From d8db69b21b802b6c496958e806f4617bfa32e08e Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Tue, 29 Aug 2023 14:20:04 -0400 Subject: [PATCH] Use new git.michael.is url --- core_js/storage.js | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/core_js/storage.js b/core_js/storage.js index 6864acb..b8971ba 100644 --- a/core_js/storage.js +++ b/core_js/storage.js @@ -193,8 +193,8 @@ function initSettings() { storage.log = {"log": []}; storage.statisticsStatus = true; storage.badged_color = "#ffa500"; - storage.hashURL = "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/rules.minify.hash"; - storage.ruleURL = "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/master/data/data.minify.json"; + storage.hashURL = "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash"; + storage.ruleURL = "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/data.minify.json"; storage.contextMenuEnabled = true; storage.historyListenerEnabled = true; storage.localHostsSkipping = true; @@ -221,27 +221,23 @@ function initSettings() { function replaceOldURLs(url) { switch (url) { 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": - 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": - 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": - 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": - 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": - 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": - 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": - 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": - return "https://raw.githubusercontent.com/sir-pinecone/clear-urls-browser-extension/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"; + return "https://git.michael.is/michael/clear-urls-browser-extension/raw/branch/master/data/rules.minify.hash"; default: return url; }