diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a675648..a9d77c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,11 +29,11 @@ jobs: with: cmd: build source: . - filename: "rfd-redirect-stripper-${{steps.vars.outputs.version}}-${{steps.vars.outputs.sha_short}}.xpi" + filename: "rfd-affiliate-stripper-${{steps.vars.outputs.version}}-${{steps.vars.outputs.sha_short}}.xpi" ignoreFiles: '[ "package.json","package-lock.json","yarn.lock" ]' - name: "Upload Artifact" uses: actions/upload-artifact@v4 with: - name: "rfd-redirect-stripper-${{steps.vars.outputs.version}}-${{steps.vars.outputs.sha_short}}.xpi" + name: "rfd-affiliate-stripper-${{steps.vars.outputs.version}}-${{steps.vars.outputs.sha_short}}.xpi" path: ${{ steps.web-ext-build.outputs.target }} diff --git a/README.md b/README.md index e2a2410..6ec1a00 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ -# rfd-redirect-stripper +# rfd-affiliate-stripper -> ⚠️ Unfortunately Google decided to remove this extension from the Chrome Web Store. It can still be built from source and added to chrome. +Get rfd-affiliate-stripper for Firefox +Get rfd-affiliate-stripper for Chrome -Get rfd-redirect-stripper for Firefox -Get rfd-redirect-stripper for Chrome +Strips affiliate redirects from deal links posted on RFD. -Strips affiliate redirects from deal links posted on . - -On every page load, it transforms a link with tracking such as +On every page load, it transforms a link with tracking such as ``` http://www.amazon.ca/gp/redirect.html?ie=UTF8&location=https%3A%2F%2Fwww.amazon.ca%2Fdp%2FB09YXY3DKN%3Fref%3Dcm_sw_r_apan_dp_NX4HJ8HZ3XX2YK1J900A%26ref_%3Dcm_sw_r_apan_dp_NX4HJ8HZ3XX2YK1J900A%26social_share%3Dcm_sw_r_apan_dp_NX4HJ8HZ3XX2YK1J900A%26starsLeft%3D1%26skipTwisterOG%3D1&tag=redflagdealsc-20&linkCode=ur2&camp=15121&creative=330641 @@ -45,7 +43,7 @@ New config can be tested by pointing the config url of the extension to your own For example: ```text -https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/my-new-branch/redirects.json +https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/my-new-branch/redirects.json ``` ## Tampermonkey Script diff --git a/html/popup.html b/html/popup.html index e564acd..78d1c21 100644 --- a/html/popup.html +++ b/html/popup.html @@ -2,7 +2,7 @@ - rfd-redirect-stripper + rfd-affiliate-stripper diff --git a/js/popup.js b/js/popup.js index 2b88c2f..9075a25 100644 --- a/js/popup.js +++ b/js/popup.js @@ -5,7 +5,7 @@ const saveButton = document.getElementById("save-button"); const resetButton = document.getElementById("reset-button"); const defaultConfig = - "https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/redirects.json"; + "https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/redirects.json"; chrome.storage.local.get("config").then((result) => { const value = result.config; diff --git a/js/utils.js b/js/utils.js index 68d6a1a..77dad19 100644 --- a/js/utils.js +++ b/js/utils.js @@ -20,6 +20,6 @@ export function updateRedirects() { export function setDefaultConfig() { chrome.storage.local.set({ config: - "https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/redirects.json", + "https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/redirects.json", }); } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 5d074c4..b16c775 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 3, - "name": "rfd-redirect-stripper", + "name": "rfd-affiliate-stripper", "description": "Strip tracking redirects on rfd", - "version": "0.5.2", + "version": "0.5.3", "content_scripts": [ { "matches": [ diff --git a/package-lock.json b/package-lock.json index 7d99511..0b40c92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "rfd-redirect-stripper", + "name": "rfd-affiliate-stripper", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/script.js b/script.js index e8ac037..0794235 100644 --- a/script.js +++ b/script.js @@ -1,12 +1,12 @@ // ==UserScript== -// @name RedFlagDeals Redirect Stripper +// @name RFD Affiliate Stripper // @author Dave Gallant // @description Strip redirect links on forums.redflagdeals.com -// @downloadURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js +// @downloadURL https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/script.js // @grant none // @match *://forums.redflagdeals.com/* // @namespace http://tampermonkey.net/ -// @updateURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js +// @updateURL https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/script.js // @version 2024-10-26 // ==/UserScript== diff --git a/script.js.tmpl b/script.js.tmpl index 3eb924d..50546d7 100644 --- a/script.js.tmpl +++ b/script.js.tmpl @@ -1,12 +1,12 @@ // ==UserScript== -// @name RedFlagDeals Redirect Stripper +// @name RedFlagDeals Affiliate Stripper // @author Dave Gallant // @description Strip redirect links on forums.redflagdeals.com -// @downloadURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js +// @downloadURL https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/script.js // @grant none // @match *://forums.redflagdeals.com/* // @namespace http://tampermonkey.net/ -// @updateURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js +// @updateURL https://raw.githubusercontent.com/davegallant/rfd-affiliate-stripper/main/script.js // @version {{ (time.Now).Format "2006-01-02" }} // ==/UserScript==