Skip to content

Commit

Permalink
Remove ads from adsense domains
Browse files Browse the repository at this point in the history
  • Loading branch information
xbubbo committed Dec 17, 2024
1 parent aee653f commit f8f2f65
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions static/assets/js/m.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
/* document.addEventListener("DOMContentLoaded", () => {
if (!document.getElementById("no")) {
document.addEventListener("DOMContentLoaded", () => {
const blockedHostnames = [
"gointerstellar.app",
"computers-science.com",
"roundrockisd.online",
"algebraxyz.info",
"thegalleryofart.info",
];

if (
!blockedHostnames.includes(window.location.hostname) &&
!document.getElementById("no")
) {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "//flatjeep.com/5e/6b/27/5e6b2776400180cc548a7dfd8ab3f717.js";
document.body.appendChild(script);
}
}); */
});

// Dynamic
document.addEventListener("DOMContentLoaded", () => {
Expand Down

0 comments on commit f8f2f65

Please sign in to comment.