![]() ![]() |
Hi,
One of his idea is to automatically scroll the page to the bottom. It is incredibly annoying, I have to scroll the page back manually to top about 99% of the time. He, will not remove this "feature". I have identified file and part of java script responsible for this function.
http://XXXXXXXXXXXX.pl/js/main.func.js?v=2012-0... with my own version in which this part of code is commented out: //Form scrolling
How to do this? Pleas help, my scrolling finger is so tired :( |
![]() ![]() |
var $j = unsafeWindow.jQuery;
$j("html, body").scrollTop(0);
|
![]() ![]() |
What i have to do with this code? I realy don't know how to start. I have created new script. It looks like The config.xml
and script js: // ==UserScript==
var $j = unsafeWindow.jQuery;
It scrolls to the bottom. |
![]() ![]() |
Why would you change the config.xml? Maybe try this:
window.addEventListener('load', function() {
var $j = unsafeWindow.jQuery;
$j("html, body").scrollTop(0);
}, false);
|
![]() ![]() |
I have little knowledge of jQuery, but assuming the userscript runs during the scrolling animation, I think you need to first use |
![]() ![]() |
@devnull69
|


