PL: Witam czy by się dało zamienić ten skrypt Greasemonkey:
[code] // ==UserScript== // @name Anyfiles // @namespace Anyfiles // @include http://anyfiles.pl/* // @version 1.0 // @grant none // ==/UserScript== // var kom = document.getElementsByClassName("adsUnbNotifer")[0]; kom.parentNode.removeChild(kom); [/code] tak aby działał tak samo tylko w pliku ".js" lub w pliku ".html" , tzn: na domenie anyfiles.pl ma usuwać class "adsUnbNotifer" czyli ma usuwać ze strony ten kod: [code]<div class="adsUnbNotifer" style="color: white;position: absolute; vertical-align: middle;top: 10%;text-align: center;width: 100%;height: 40%; background-color: #000000;opacity: 0.6;filter: alpha(opacity=60);"><h1>Uwaga !</h1><h4>Korzystasz z programu blokującego reklamy w przeglądarce<br>prosimy o jego wyłączenie</h4></div>[/code] ---------------- zrobię z tego pliku .js lub pliku .html , dodatek do chrome który po jednym kliknięciu usuwa tego classa. ENG: This script ** replace the file "js" OR ".html": [code] // ==UserScript== // @name Anyfiles // @namespace Anyfiles // @include http://anyfiles.pl/* // @version 1.0 // @grant none // ==/UserScript== // var kom = document.getElementsByClassName("adsUnbNotifer")[0]; kom.parentNode.removeChild(kom); [/code] change the language , Greasemonkey ---> JS OR HTML -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
