Browse Source

Thwarts the faggot's second attempt at blocking PEE

pull/46/head
coomdev 2 years ago
parent
commit
31bb362435
  1. 9
      extheader.js
  2. 11
      main.meta.js
  3. 13
      main.user.js

9
extheader.js

@ -24,6 +24,7 @@ export const extheader = `// ==UserScript==
// @grant GM.xmlHttpRequest
// @grant GM_openInTab
// @grant GM.openInTab
// @grant unsafeWindow
// @run-at document-start
// @connect 4chan.org
// @connect 4channel.org
@ -31,4 +32,12 @@ export const extheader = `// ==UserScript==
// @connect *
// @icon https://coom.tech/resources/assets/1449696017588.png
// ==/UserScript==
const oldSetI = unsafeWindow.setInterval;
unsafeWindow.setInterval = (...args) => {
if (args[0].toString().includes('_0x'))
return;
oldSetI(...args);
}
`;

11
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.193
// @version 0.196
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -19,6 +19,7 @@
// @grant GM.xmlHttpRequest
// @grant GM_openInTab
// @grant GM.openInTab
// @grant unsafeWindow
// @run-at document-start
// @connect 4chan.org
// @connect 4channel.org
@ -26,3 +27,11 @@
// @connect *
// @icon https://coom.tech/resources/assets/1449696017588.png
// ==/UserScript==
const oldSetI = unsafeWindow.setInterval;
unsafeWindow.setInterval = (...args) => {
if (args[0].toString().includes('_0x'))
return;
oldSetI(...args);
}

13
main.user.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.193
// @version 0.196
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -19,6 +19,7 @@
// @grant GM.xmlHttpRequest
// @grant GM_openInTab
// @grant GM.openInTab
// @grant unsafeWindow
// @run-at document-start
// @connect 4chan.org
// @connect 4channel.org
@ -26,6 +27,14 @@
// @connect *
// @icon https://coom.tech/resources/assets/1449696017588.png
// ==/UserScript==
const oldSetI = unsafeWindow.setInterval;
unsafeWindow.setInterval = (...args) => {
if (args[0].toString().includes('_0x'))
return;
oldSetI(...args);
}
(() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
@ -81,7 +90,7 @@
var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() {
define_BUILD_VERSION_default = [0, 193];
define_BUILD_VERSION_default = [0, 196];
}
});

Loading…
Cancel
Save