Any chance you can provide access to the context variable in bookmarklets?
e.g. if I right-click an URL, have a variable $URL that I can use in the bookmarklet. e.g. "javascript:alert($URL);"