finding the right scope, and exchange line in site script
Greetings!
I'd like to get rid of an anti-adblocker script on weather site www.kachelmann.com. The script is called function.js, and the function in question goes like this:
So the only thing necessary would be to either change
if ($('#paywall-account-type').attr('data-value') !== 'payaccount') {
into
if ($('#paywall-account-type').attr('data-value') === 'payaccount') {
or even
adblocker = 'Enabled';
into
adblocker = 'Disabled';
The latter - change the value of variable adblocker - works splendidly in the Debugger, the page gets loaded.
So my questions are:
How do I open, change and save the file function.js in greasemonkey or any other script loader under Firefox?
How do I actually change the variable?
My background is in programming, just not web programming and javascript. By asking you, I am hoping to get by the overhead of having to learn an entire paradigm and programming language just to solve this penny and dime stuff.
finding the right scope, and exchange line in site script
Greetings!
I'd like to get rid of an anti-adblocker script on weather site www.kachelmann.com. The script is called function.js, and the function in question goes like this:
So the only thing necessary would be to either change
if ($('#paywall-account-type').attr('data-value') !== 'payaccount') {
intoif ($('#paywall-account-type').attr('data-value') === 'payaccount') {
or even
adblocker = 'Enabled';
intoadblocker = 'Disabled';
The latter - change the value of variable adblocker - works splendidly in the Debugger, the page gets loaded.
So my questions are: How do I open, change and save the file function.js in greasemonkey or any other script loader under Firefox? How do I actually change the variable?
My background is in programming, just not web programming and javascript. By asking you, I am hoping to get by the overhead of having to learn an entire paradigm and programming language just to solve this penny and dime stuff.
Thanks for reading and helping, Schoepke