// @author PHO
// @version 1.0.1
// @license CC0
-// @run-at document-idle
+// @run-at document-end
// @include https://*.5ch.net/*
// ==/UserScript==
(function () {
function remove_ad_footer() {
// Starting from 2021-02-08, 5ch.net shows an iframe ad
// contained in several nested div elements. Dunno which
- // script is doing it.
+ // script is doing it. -> Found. It was "ad.js"
var iframes = document.querySelectorAll("iframe");
for (var iframe of iframes.values()) {
if ((iframe.getAttribute("src") || "").startsWith("//stab.thench.net/")) {