also may be pertinent to note if the hash is changed via script, the script not automatically re-executed, you would have to monitor for hash change and call your function again. If you open the second in link in a new tab it should execute your code however since the page itself might be monitoring for hash change and then load something else after your script operates, you would have to account for that somehow (possibly set a timeout after document loaded before your script exeutes)
On Jun 29, 6:17 pm, qufighter <[email protected]> wrote: > Are you sure its not an https issue? Its possible something else has > changed in the URL you are not accounting for? Otherwise you might > try simplifying to *.ht* or *.htm_* or just to > http://collab.companysite.com/gm/document* > > More likely than not the hash is completely ignored by GM pattern > matching for includes although I have no idea, but all my scripts work > fine if I reload the same URL with a hash added on > > On Jun 23, 10:25 pm, Mike <[email protected]> wrote: > > > the script does not show in the list when a visit a page with a hash. > > > On Jun 23, 4:23 pm, Matt Sargent <[email protected]> wrote: > > > > By "will not execute", do you mean it doesn't function, or it's not > > > active? Two very different things. Right-click on the monkey icon to see > > > if the script is active. > > > > Mike wrote: > > > > The scripts for our company intranet, so I alter the domain name, but > > > > the rest is identical. > > > > > // @include http://collab.companysite.com/gm/document*.htm* > > > > > If I go > > > > tohttp://collab.companysite.com/gm/document-1.9.207738/1200902241446497..., > > > > the script will execute just fine > > > > > If I go > > > > tohttp://collab.companysite.com/gm/document-1.9.207738/1200902241446497..., > > > > the script will not execute > > > > > On Jun 23, 9:45 am, Anthony Lieuallen <[email protected]> wrote: > > > > >> On 6/22/2009 5:16 PM, Mike wrote: > > > > >>> Hey all, my include string doesn't want to work when there is a > > > >>> location hash present... > > > > >> This definitely works. Please provide an exact script, and the exact > > > >> url that it does not (and does) work for. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
