Oh yes. But what I need is to IDENTIFY when the URL changes on address bar.
Can I have some hope? :-) On Nov 11, 12:12 pm, Patrick Wiseman <[email protected]> wrote: > On Wed, Nov 11, 2009 at 10:06 AM, Lawrence <[email protected]> wrote: > > > Hi. > > > With greasemonkey, how can I change the URL on-the-fly? For example, > > if the user access the URLhttp://website.com, I want to change it to > >http://www.website.com/main.php?id=1 > > var url = window.location.href; > url += "main.php?id=1"; > window.location.replace(url); > > or something like that. > > pw --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
