Was trying to make a bookmarklet using Mootools, actually made it.
Unfortunately it turned out that it created a conflict with pages which have prototype framework embedded so now I have to make all the stuff that I made in pure JavaScript, without using Mootools 1.2. That’s pretty bad, because I am not that proficient in pure JavaScript.
Getting location of the Iframe which is located in different domain is not
possible due to security issues, checking out many different forums and discussions led me to this conclusion. The solution for this problem might be, parsing the webpages through your own domain, by changing all of the “src” and “href” tags in the document before showing it, the only limitation of this solution that you won’t be able to access pages which restrict access if you do not have javascript enabled because CURL won’t pass the javascript test.