Hey guys,
recently I've installed the FireGestures plugin for Firefox, which I find very useful. You can also create your own scripts using JavaScript.
I want to create a script that simply scrolls to the top and then reloads the page. Sound simple, but I couldnt figure it out.
In FireGestures' help page it says "Of course, you can use global objects defined in browser.xul such as gBrowser, Cc and Ci."
I dont have eny experience with those and the Mozilla XUL documentation is one of the worst things that I've ever seen.
I've managed to trigger the reloading part by intuitively typing gBrowser.reload();
which reloads the current tab (exactly what i want).
How can I tell FireGestures to scroll to the top?