Skip to content

Commit f8f2f65

Browse files
committed
Remove ads from adsense domains
1 parent aee653f commit f8f2f65

File tree

1 file changed

+14
-3
lines changed
  • static/assets/js

1 file changed

+14
-3
lines changed

static/assets/js/m.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
/* document.addEventListener("DOMContentLoaded", () => {
2-
if (!document.getElementById("no")) {
1+
document.addEventListener("DOMContentLoaded", () => {
2+
const blockedHostnames = [
3+
"gointerstellar.app",
4+
"computers-science.com",
5+
"roundrockisd.online",
6+
"algebraxyz.info",
7+
"thegalleryofart.info",
8+
];
9+
10+
if (
11+
!blockedHostnames.includes(window.location.hostname) &&
12+
!document.getElementById("no")
13+
) {
314
const script = document.createElement("script");
415
script.type = "text/javascript";
516
script.src = "//flatjeep.com/5e/6b/27/5e6b2776400180cc548a7dfd8ab3f717.js";
617
document.body.appendChild(script);
718
}
8-
}); */
19+
});
920

1021
// Dynamic
1122
document.addEventListener("DOMContentLoaded", () => {

0 commit comments

Comments
 (0)