userjs

Scroll to anchor

I have the following userjs which is intended to remove anchor part of the URL but still jump to it: // ==UserScript== // @name PurgeAnchor // @include * // ==/UserScript== (function() { var reg=/^(.*)\#(.*)$/; var match=reg.exec(location); function ObjectPosition(obj) { var curtop = 0; if(obj.offsetParent) while(1) ...

User JS read out by webpage JS

Currently I add some functionality to webpages via UserJS in Opera. I was wondering if the webpage designer could see what javascript actions I'm doing in my UserJS on his webpage (e.g. via javascript)? Is this possible? I think it doesn't because the UserJS gets executed first and isn't really 'added' to the page. I'd like to be sure, ...