Introduction
Introduction Statistics Contact Development Disclaimer Help
ignore cookiewall for transip, age and contentfilter for steam - firefox-fix-we…
git clone git://git.codemadness.org/firefox-fix-web
Log
Files
Refs
README
LICENSE
---
commit 8cee29a8f6e7b17a211e7ed855d702fca577c399
parent 811b6ccb33519cc9dd18fba6bb9f03e0a757bd31
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 2 Sep 2018 21:48:01 +0200
ignore cookiewall for transip, age and contentfilter for steam
Diffstat:
M extension/manifest.json | 8 ++++++++
M extension/site/hardwareinfo.js | 4 ----
A extension/site/steam.js | 9 +++++++++
A extension/site/transip.js | 4 ++++
4 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/extension/manifest.json b/extension/manifest.json
@@ -42,6 +42,14 @@
"css": [ "site/xs4all.css" ]
},
{
+ "matches": [ "*://*.transip.nl/*", "*://*.transip.eu/*…
+ "js": [ "site/transip.js" ]
+ },
+ {
+ "matches": [ "*://*.steampowered.com/*" ],
+ "js": [ "site/steam.js" ]
+ },
+ {
"matches": [ "*://*.hardware.info/*" ],
"css": [ "site/hardwareinfo.css" ],
"js": [ "site/hardwareinfo.js" ]
diff --git a/extension/site/hardwareinfo.js b/extension/site/hardwareinfo.js
@@ -1,9 +1,5 @@
-(function() {
-
var c = document.getElementById("cookiecontainer");
if (typeof(c) != "undefined" && (document.cookie || "").match("cookiebar=1") =…
document.cookie = "cookiebar=1";
window.location.reload(true);
}
-
-})();
diff --git a/extension/site/steam.js b/extension/site/steam.js
@@ -0,0 +1,9 @@
+if ((document.cookie || "").match("mature_content=1") === null) {
+ /* show "violent" games */
+ document.cookie = "mature_content=1; expires=Tue, 5 Jan 2038 00:00:00 …
+ /* no age check */
+ document.cookie = "birthtime=-3599; expires=Tue, 5 Jan 2038 00:00:00 G…
+ document.cookie = "lastagecheckage=1-January-1970; expires=Tue, 5 Jan …
+
+ window.location.reload(true);
+}
diff --git a/extension/site/transip.js b/extension/site/transip.js
@@ -0,0 +1,4 @@
+if ((document.cookie || "").match("cookie-consent-dismissed=1") === null) {
+ document.cookie = "cookie-consent-dismissed=1; expires=Tue, 5 Jan 2038…
+ window.location.reload(true);
+}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.