[Greasemonkey] How to find the URL of the page that is being displayed.
John M. Dlugosz
3pslmor02 at sneakemail.com
Fri Jun 29 08:25:46 PDT 2007
I don't recall exactly off hand, but the 'window' object has properties of
interest, possibly 'location'. The window object is normally your global
scope, so just see if location works.
"Vikas Pandey vickyvirgo2k7-at-gmail.com |Greasemonkey extension for
Firefox|" <...>
Sent by: greasemonkey-bounces at mozdev.org
06/29/2007 09:51 AM
Please respond to
"greasemonkey-at-mozdev.org |Greasemonkey extension for Firefox|"
<...>
To
........................, ................
cc
Subject
[Greasemonkey] How to find the URL of the page that is being displayed.
I am taking the screenshots of some pages that are displayed, but
ScreenGrab includes only what is visible in the FF window and excludes
the frame and Location bar.
To include the content of address bar, I am thinking of putting a gm
script that would take the current content of the Location box and would
add at the top of the page in the current tab, so that the url is
included in the screenshot.
How to get the current URL into gm?
thanks.
--
Vikas
_______________________________________________
Greasemonkey mailing list
Greasemonkey at mozdev.org
http://mozdev.org/mailman/listinfo/greasemonkey
More information about the Greasemonkey
mailing list