Does it run again when you click a photo someone posted? On Tue, May 29, 2012 at 2:07 AM, Sam Larison <[email protected]> wrote:
> The only guess I can venture is that the loading of XMLHTTP data by > facebook is somehow triggering a document created event. > > > On Tue, May 29, 2012 at 1:29 AM, Matt Kruse <[email protected]>wrote: > >> On May 25, 8:05 am, Anthony Lieuallen <[email protected]> wrote: >> > On Thu, May 24, 2012 at 12:16 PM, Matt Kruse <[email protected] >> >wrote: >> > > When viewing the home news feed, this alerts "0" (expected), but then >> > > also alerts "1" after the document loads. >> > I do not see that behavior. Try in a fresh profile: >> http://wiki.greasespot.net/Troubleshooting_%28Users%29 >> >> On a fresh profile, with only Greasemonkey running, with no other user >> scripts, I see the same behavior. >> >> This is Firefox 12.0, Greasemonkey 0.9.20 and exactly this user >> script: >> >> // ==UserScript== >> // @name fb test >> // @namespace xxx >> // @include https://www.facebook.com/ >> // @run-at document-start >> // ==/UserScript== >> alert(document.getElementsByTagName('BODY').length); >> >> I've tried using 3 different FB accounts, all with the same behavior. >> >> I get an alert of "0" before page load, then "1" after the dom loads. >> >> Any other ideas? >> >> Matt Kruse >> >> -- >> 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. >> >> > -- 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.
