From e0018643e5cebc35a3786ffe04a323b03cd662b4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 3 Jan 2020 00:22:19 -0500 Subject: Remove old extensions and add the reworked workarounds extension * data/update-extensions.sh: Remove free-js-for-rsf-org-petitions, librejs-compatible-sumofus-org, librejs-compatible-pay-gov, rock-and-roll-mcdonald-s, goteo-org-payments-w-free-js, use-google-drive-with-librejs. These have been reworked and are all now bundled into one single extension. * data/extensions/DMCAreg@0xbeef.coffee/*, data/extensions/SimpleSumOfUs@0xbeef.coffee/*, data/extensions/google_drive@0xbeef.coffee/*, data/extensions/goteo@0xbeef.coffee/*, data/extensions/rsf@0xbeef.coffee/*, data/extensions/rnrMcDonalds@0xbeef.coffee/*: Remove. * data/extensions/gnuzilla-ext-workarounds@gnu.org/LICENSE, data/extensions/gnuzilla-ext-workarounds@gnu.org/README, data/extensions/gnuzilla-ext-workarounds@gnu.org/README~, data/extensions/gnuzilla-ext-workarounds@gnu.org/background.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/background.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.html, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.html~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/jquery-3.4.1.min.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/usps_postage.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/usps_postage.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/icons/L4Libre.png, data/extensions/gnuzilla-ext-workarounds@gnu.org/icons/L4Libre128.png, data/extensions/gnuzilla-ext-workarounds@gnu.org/icons/L4Libre48.png, data/extensions/gnuzilla-ext-workarounds@gnu.org/icons/test.png, data/extensions/gnuzilla-ext-workarounds@gnu.org/jquery-3.4.1.min.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json, data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/googledocs_main.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/googledocs_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/goteo_main.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/goteo_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/mcdonalds_wifi.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/mcdonalds_wifi.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/paygov_main.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/paygov_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/rsf_main.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/rsf_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/sumofus_main.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/sumofus_main.js~: New files. These were imported from the "integrated addon" directory of https://0xbeef.coffee/final4.zip, extracted using: unzip final4.zip "final/integrated addon/*" -d gnuzilla-ext-workarounds@gnu.org/ mv "gnuzilla-ext-workarounds@gnu.org/final/integrated addon"/* gnuzilla-ext-workarounds@gnu.org/ rm -rf gnuzilla-ext-workarounds@gnu.org/final/ add original backup files --- data/extensions/rsf@0xbeef.coffee/License | 8 ------ .../rsf@0xbeef.coffee/META-INF/manifest.mf | 22 -------------- .../rsf@0xbeef.coffee/META-INF/mozilla.rsa | Bin 4174 -> 0 bytes .../rsf@0xbeef.coffee/META-INF/mozilla.sf | 4 --- .../rsf@0xbeef.coffee/icons/L4Libre128.png | Bin 867 -> 0 bytes data/extensions/rsf@0xbeef.coffee/manifest.json | 28 ------------------ data/extensions/rsf@0xbeef.coffee/rsf.js | 32 --------------------- 7 files changed, 94 deletions(-) delete mode 100644 data/extensions/rsf@0xbeef.coffee/License delete mode 100644 data/extensions/rsf@0xbeef.coffee/META-INF/manifest.mf delete mode 100644 data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.rsa delete mode 100644 data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.sf delete mode 100644 data/extensions/rsf@0xbeef.coffee/icons/L4Libre128.png delete mode 100644 data/extensions/rsf@0xbeef.coffee/manifest.json delete mode 100644 data/extensions/rsf@0xbeef.coffee/rsf.js (limited to 'data/extensions/rsf@0xbeef.coffee') diff --git a/data/extensions/rsf@0xbeef.coffee/License b/data/extensions/rsf@0xbeef.coffee/License deleted file mode 100644 index 638bb51..0000000 --- a/data/extensions/rsf@0xbeef.coffee/License +++ /dev/null @@ -1,8 +0,0 @@ -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/data/extensions/rsf@0xbeef.coffee/META-INF/manifest.mf b/data/extensions/rsf@0xbeef.coffee/META-INF/manifest.mf deleted file mode 100644 index 71601c5..0000000 --- a/data/extensions/rsf@0xbeef.coffee/META-INF/manifest.mf +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0 - -Name: License -Digest-Algorithms: MD5 SHA1 -MD5-Digest: o1+NLuXuBdXDUPbqMKclVg== -SHA1-Digest: 9neKP3yy2up5cLrNOoXL0zOPkJY= - -Name: manifest.json -Digest-Algorithms: MD5 SHA1 -MD5-Digest: b7IPx7VDj2bcYY2wP5Oarg== -SHA1-Digest: fosZdJ2QQjgMcYXVecf5Ei+gHjw= - -Name: rsf.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: 7G1QyNL+jjIzL6nurHRvDQ== -SHA1-Digest: 06vXb9tjWgGGs5ltRO58Va/opws= - -Name: icons/L4Libre128.png -Digest-Algorithms: MD5 SHA1 -MD5-Digest: kS1d+qdXiSrLxP7VDwMeHA== -SHA1-Digest: azirjfdr0IxCBd0hp0U9qA7wM2E= - diff --git a/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.rsa b/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.rsa deleted file mode 100644 index 181024a..0000000 Binary files a/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.rsa and /dev/null differ diff --git a/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.sf b/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.sf deleted file mode 100644 index 77d865a..0000000 --- a/data/extensions/rsf@0xbeef.coffee/META-INF/mozilla.sf +++ /dev/null @@ -1,4 +0,0 @@ -Signature-Version: 1.0 -MD5-Digest-Manifest: V1imAEDuWsBsSROAGdix6A== -SHA1-Digest-Manifest: 0zL+nGOs4UYMjGRyDtpRec0aJYo= - diff --git a/data/extensions/rsf@0xbeef.coffee/icons/L4Libre128.png b/data/extensions/rsf@0xbeef.coffee/icons/L4Libre128.png deleted file mode 100644 index d133c53..0000000 Binary files a/data/extensions/rsf@0xbeef.coffee/icons/L4Libre128.png and /dev/null differ diff --git a/data/extensions/rsf@0xbeef.coffee/manifest.json b/data/extensions/rsf@0xbeef.coffee/manifest.json deleted file mode 100644 index d77f705..0000000 --- a/data/extensions/rsf@0xbeef.coffee/manifest.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "manifest_version": 2, - "name": "Sign RSF.org petitions with free Javascript", - "version": "1.1", - "author": "Nathan Nichols", - "id": "rsf@0xbeef.coffee", - "description": "Allows you to sign rsf.org petitions with free Javascript.", - "icons": { - "128": "icons/L4Libre128.png" - }, - "applications": { - "gecko": { - "id": "rsf@0xbeef.coffee", - "strict_min_version": "42.0" - } - }, - "content_scripts": [ - { - "matches": [ - "*://rsf.org/*", - "*://rsf.secure.force.com/*" - ], - "js": [ - "rsf.js" - ] - } - ] -} diff --git a/data/extensions/rsf@0xbeef.coffee/rsf.js b/data/extensions/rsf@0xbeef.coffee/rsf.js deleted file mode 100644 index 2c5eeab..0000000 --- a/data/extensions/rsf@0xbeef.coffee/rsf.js +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -function broken_page(){ - if(document.getElementsByClassName("col-md-4 petition-wrap")[0] === undefined){ - return 0; - } - var iframe_src = document.getElementsByTagName("iframe")[0].src.replace(/[\s\S]+%20/g,""); - document.getElementsByClassName("col-md-4 petition-wrap")[0].insertAdjacentHTML("afterbegin",'

Click here to sign the petition

'); - document.getElementsByTagName("iframe")[0].remove(); -} - -function petition_page(){ - document.getElementsByTagName("form")[0].insertAdjacentHTML("beforeend",document.getElementById("ajax-view-state-page-container").innerHTML); - console.log("inserted info"); -} - -if(document.location.href.match("rsf.secure.force.com/petition") !== null){ - console.log("petition");// the page in the iframe - petition_page(); -} else{ - console.log("other page"); - broken_page();// the one with the iframe that is a 404 -} - -- cgit v1.2.3