Bump? Still not sure how to solve this. Not only are there no errors in the setTimeout function, but it does not seem to be able to use any jQuery. I just need a way for code to run every 3 seconds.
On Wednesday, 29 November 2017 01:14:01 UTC-5, Chris wrote: > > 1# Give me their email, ill complain :P Honestly tho, this is rather > horrible. Not sure how they even messed up a simple thing like copy/paste. > > 2# I just hit f12 and look at the built in firefox console. That being > said, I found the 'issue'. Turns out code in a method called by setInterval > won't spit out errors on the console. And after adding in an alert it looks > like the code cannot find jQuery (or turning it into an anonymous > function). So for some reason this new version of firefox/GM is not able to > find the jQuery reference in my method being called by setInterval? > > On Monday, 27 November 2017 03:35:14 UTC-5, brunoais wrote: >> >> 1# You can't. Complain to firefox devs. Greasomnkey guys can't do >> anything about that. >> >> 2# How are you trying to get the log in the console? >> >> On Sun, Nov 26, 2017 at 11:09 PM, Chris S <[email protected]> wrote: >> >>> Got a few questions/issues: >>> >>> 1# How do I edit the scripts with my favorite editor (notepad++)? In the >>> past you could just go to the gm_scripts folder in your firefox profile and >>> edit the scripts that way (or even tell greasemonkey what your favorite >>> editor was). The current editor in gm4 is hard to use as it cannot >>> copy/paste out of the editor and it doesn't highlight matching brackets. >>> >>> 2# One of my current scripts does not work and not producing any error >>> in the console. I put in a test alert and got the alert, I then put in a >>> test alertdfg() and got no alert or no error in the console? >>> >>> 3# Is there some sort of bug with jquery and/or require()? Yesterday >>> when 'fixing' one of my scripts I kept seeing an error in the console about >>> '$' not being defined anytime I did any tweak to my script. The script >>> could work perfectly fine, but the moment I did a tweak (even just a simple >>> alert('test'); ) it would tell me '$' was not defined again. The only way >>> to get jQuery working was to change the value in require() again. So in >>> other words, anytime I did any changes to my gm script id need to change >>> the jquery require() path otherwise the console would spit a '$' is not >>> defined error. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "greasemonkey-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/greasemonkey-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
