summaryrefslogtreecommitdiff
path: root/data/extensions/DMCAreg@0xbeef.coffee
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2017-09-01 16:42:12 -0400
committerRuben Rodriguez <ruben@gnu.org>2017-09-01 16:42:12 -0400
commit43d2827eeedaf72acbe8eb4c0853eaae272c49f7 (patch)
tree2bbc6ddf438d900230fe760209dab8b29a09b8dd /data/extensions/DMCAreg@0xbeef.coffee
parent25e19003125673213cbfa15a3adb04b7c6371c4d (diff)
Added extension collection https://addons.mozilla.org/en-US/firefox/collections/NateN1222/librejs-compatibility-add-ons/
Diffstat (limited to 'data/extensions/DMCAreg@0xbeef.coffee')
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/License8
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/META-INF/manifest.mf32
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.rsabin0 -> 4178 bytes
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.sf4
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre.pngbin0 -> 381 bytes
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre128.pngbin0 -> 5760 bytes
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre48.pngbin0 -> 1404 bytes
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/manifest.json32
-rw-r--r--data/extensions/DMCAreg@0xbeef.coffee/pay.js18
9 files changed, 94 insertions, 0 deletions
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/License b/data/extensions/DMCAreg@0xbeef.coffee/License
new file mode 100644
index 0000000..638bb51
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/License
@@ -0,0 +1,8 @@
+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/DMCAreg@0xbeef.coffee/META-INF/manifest.mf b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/manifest.mf
new file mode 100644
index 0000000..106504b
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/manifest.mf
@@ -0,0 +1,32 @@
+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: plVjkV5vw62PP3C1ag8n4A==
+SHA1-Digest: fCJ+1mLGxjfzj3xmUHIy9TR/nEc=
+
+Name: pay.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: un4kqaAFIqxkDGcTHwwZ2g==
+SHA1-Digest: VYVMmOvziHYXJmasJpY9M2OLaK0=
+
+Name: icons/L4Libre.png
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: 4zvLiRtcfTqAAD1tLrsEsw==
+SHA1-Digest: GcCCKFQJ8W4Nzd7mW4zEUs0xvg8=
+
+Name: icons/L4Libre128.png
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: BMl+LQVFGtIQC362YUozGA==
+SHA1-Digest: c4gIR+7dTNjGG4GxGBOTfen9f/Q=
+
+Name: icons/L4Libre48.png
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: GRl/Cx1lCE7LCMC7s3NEsg==
+SHA1-Digest: OPRWh2l1CljS+seEgz068G4P1VA=
+
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.rsa b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.rsa
new file mode 100644
index 0000000..ab41cd9
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.rsa
Binary files differ
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.sf b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.sf
new file mode 100644
index 0000000..e16c4f1
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/META-INF/mozilla.sf
@@ -0,0 +1,4 @@
+Signature-Version: 1.0
+MD5-Digest-Manifest: R9AHFPujT+Ocr4LtNuk2sA==
+SHA1-Digest-Manifest: Nhpj/7FX8Proki24oFhkqBD2hfQ=
+
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre.png b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre.png
new file mode 100644
index 0000000..0ac7b4b
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre.png
Binary files differ
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre128.png b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre128.png
new file mode 100644
index 0000000..cb8eea3
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre128.png
Binary files differ
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre48.png b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre48.png
new file mode 100644
index 0000000..66200a9
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/icons/L4Libre48.png
Binary files differ
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/manifest.json b/data/extensions/DMCAreg@0xbeef.coffee/manifest.json
new file mode 100644
index 0000000..0e1b4d9
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/manifest.json
@@ -0,0 +1,32 @@
+{
+ "manifest_version": 2,
+ "name": "LibreJS compatible Pay.gov",
+ "version": "1.0",
+ "author": "Nathan Nichols",
+ "id": "DMCAreg@0xbeef.coffee",
+ "description": "Allows LibreJS users to register DMCA claim contacts at the DMCA registry.",
+ "icons": {
+ "16": "icons/L4Libre.png",
+ "48": "icons/L4Libre48.png",
+ "128": "icons/L4Libre128.png"
+ },
+ "applications": {
+ "gecko": {
+ "id": "DMCAreg@0xbeef.coffee",
+ "strict_min_version": "42.0"
+ }
+ },
+ "permissions": [
+ "webRequest"
+ ],
+ "content_scripts": [
+ {
+ "matches": [
+ "https://www.pay.gov/tcsonline/*"
+ ],
+ "js": [
+ "pay.js"
+ ]
+ }
+ ]
+}
diff --git a/data/extensions/DMCAreg@0xbeef.coffee/pay.js b/data/extensions/DMCAreg@0xbeef.coffee/pay.js
new file mode 100644
index 0000000..c56d745
--- /dev/null
+++ b/data/extensions/DMCAreg@0xbeef.coffee/pay.js
@@ -0,0 +1,18 @@
+/*
+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.
+*/
+
+if(document.location.href.indexOf("pay.gov/tcsonline/") != -1){
+ console.log("detected paymeny page.");
+
+ document.getElementById("hiddenContinueButton").style.display = "";
+ document.getElementById("statesCAN").remove();
+ document.getElementById("statesUSA").remove();
+ document.getElementById("stateText").value = "2 letter code";
+}