Dyskusje » Propozycje stworzenia skryptu/stylu

"modtype.doorblog.jp" NOSCRIPT Blocker remover.

§
Napisano: 13-11-2015
Edytowano: 13-11-2015

"modtype.doorblog.jp" NOSCRIPT Blocker remover.

Hi everyone,

So as the title suggests, I'm looking for a small patch to disable this Skyrim mod page (http://modtype.doorblog.jp/) from blocking and forcing a redirect to http://bar1.shinobi.jp/hoge/NoScript? where it dumps all the NoScript users. I've taken the liberty of looking at the webpage tools in Firefox and found this in the code. I hope it's userful. http://i.imgur.com/T20N0fz.png

Also, I've attempted to block the redirect natively in Firefox, but the css still tries to black out part of the page.

Please let me know if there's anything else I need to provide.

Cheers,

woxxomMod
§
Napisano: 13-11-2015
Edytowano: 13-11-2015

If you're using uBlock-origin then you can make it delete this element.

Otherwise here's a userscript:

// ==UserScript==
// @name        Delete NOSCRIPT element
// @include     http://modtype.doorblog.jp/*
// @run-at      document-start
// @require     https://greasyfork.org/scripts/12228/code/setMutationHandler.js
// ==/UserScript==

setMutationHandler(document, 'noscript', function(nodes) {
    nodes.forEach(function(n) { n.remove() });
});

If you're using uBlock-origin then you can make it delete this element.

Otherwise here's a userscript:

// ==UserScript==
// @name        Delete NOSCRIPT element
// @include     http://modtype.doorblog.jp/*
// @run-at      document-start
// @require     https://greasyfork.org/scripts/12228/code/setMutationHandler.js
// ==/UserScript==

setMutationHandler(document, 'noscript', function(nodes) {
    nodes.forEach(function(n) { n.remove() });
});

TY wOxxOm for looking into it. I did try your script but unfortunately it doesn't seem to fix the problem. The site is still blocking out the portion of the page, and it is still attempting to redirect to the NoScrip blocking website.

woxxomMod
§
Napisano: 14-11-2015

Your quoted code is a mess, maybe that's why it didn't work?

Odpowiedz

Zaloguj się, by odpowiedzieć.