Just get something that installs with a global... 

in tampermonkey this worked for me:
// @require 
https://raw.githubusercontent.com/lodash/lodash/4.17.4/dist/lodash.js

On Tuesday, September 23, 2014 at 4:28:10 AM UTC-5, Gergely K. wrote:
>
> Hi all!
>
> I am trying to write a greasemonkey script, which uses lodash. I am not 
> very familiar with lodash. However, when I use it with the following 
> require:
>
> // @require     
> https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js
>
> the Browser console (Pressing Ctrl+Shift+J) warns me about this:
>
>
>
> The problematic function is:
>
>     /** Used to detect if a method is native */
>     var reNative = RegExp('^' +
>       String(toString)
>         .replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
>         .replace(/toString| for [^\]]+/g, '.*?') + '$'
>     );
>
> However, I cannot reproduce this with a hello world greasemonkey script, 
> which includes this file.
>
> To say the whole truth, I don't know how to debug greasemonkey scripts at 
> all! I found little or no feedback from browser console. How can one debug 
> greasemonkey scripts?
>
> thanks
>
> Gergo
>
>

-- 
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.

Reply via email to