include /^https://.*\.rallydev\.com/.*/changesets$/
https://rally1.rallydev.com/#/4745909548/detail/userstory/6138899084/changesets
--
You received this message because you are subscribed to the Google Groups "greasemonkey-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/greasemonkey-users/-/fBB_haNojzcJ.
To post to this group, send email to greasemon...@googlegroups.com.
To unsubscribe from this group, send email to greasemonkey-us...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
// ==UserScript==// @name test_reload_problem// @namespace neil.weinstock.test// @description Just a simple script to demonstrate the problem// @include /^https://.*\.rallydev\.com/.*/changesets$/// ==/UserScript==alert("Script ran");
Can you provide the exact script behaving this way? Or, ideally, a reduced test case which exhibits this behavior, on a page that doesn't require a login?
If so, it would be great if you could file this in our issue tracker:
https://github.com/greasemonkey/greasemonkey/issues
On Sun, May 6, 2012 at 3:24 PM, neilw <neil.we...@gmail.com> wrote:
<this question previously posted to StackOverflow>I have a script to add some links to a changesets page in Rally. The script works fine, but only when I reload the page. If I just navigate (via links, forward/back buttons, etc.) to a matched page, the script does not run, but it is listed in the Greasemonkey menu, with a checkmark next to it.So it seems like the matching is working fine, but for whatever reason the page is not firing the DOMContentLoaded event when I navigate to the page. I tried @run-at document-start just for kicks, and it made no difference.I'm not sure how to either (a) figure out what's going on, or (b) fix this.Here is the @include rule, which seems to be working fine:include /^https://.*\.rallydev\.com/.*/changesets$/And here is a URL that I'm testing with:https://rally1.rallydev.com/#/4745909548/detail/userstory/6138899084/changesetsI wonder if the hash in the URL is causing a problem somehow, but I can't understand why it would work only on a reload. Any thoughts?Thanks,Neil
--
You received this message because you are subscribed to the Google Groups "greasemonkey-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/greasemonkey-users/-/fBB_haNojzcJ.
To post to this group, send email to greasemonkey-users@googlegroups.com.
To unsubscribe from this group, send email to greasemonkey-users+unsub...@googlegroups.com.