On 19 Jan., 15:09, Anthony Lieuallen <[email protected]> wrote: > On 01/18/11 22:45, Tazz wrote: > > > I can provide more informations concerning this. > > document.location.href = "...user.js"; won't trigger GM installation > > window if the website is using framesets and the script is just > > triggered in one of these frames. > > Thanks. Bug tracked > here:https://github.com/greasemonkey/greasemonkey/issues/issue/1248 > > Using "window.top.document" rather than "document" should be a valid > workaround. (Completely untested, though. Reports of success or > failure would be helpful.)
window.top.document is exactly what I am looking for. :-) Thank you. To provide you more details how to reproduce the bug, I've created a small test environment including the gm script and the html/php website working with frame-sets. http://jpeg.sunnybabe.com/GMGoogleGroups/GM_Bug_Demonstration.zip You just have to extract all files on some (ftp) webserver. Be sure the bugDemonstration folder has been created. Open the ./bugDemonstration/gm_bug_demo.user.js to install the script. Open ./bugDemonstration/GM_bug_demonstration.php to run the testing environment. That's all details I can provide so far. -- 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.
