Anyone? If no, where else could I ask about this problem?
thanks Gergo On Wednesday, September 24, 2014 11:54:21 PM UTC+2, Gergely Pihentagy wrote: > > Ok, here is a minimal problematic script: > > https://greasyfork.org/scripts/5283-testing > > Open Browser Console, and you will see the error (hopefully). > > On Tuesday, September 23, 2014 11:28:10 AM UTC+2, Gergely Pihentagy 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 http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
