-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lodash error (firefox + greasemonkey) #759
Comments
Hi @pihentagy! Try this path to lodash instead and report back. |
Same here:
Problematic line is:
|
I've followed the steps provided but cannot get an error message displayed in the Firefox 32 web console or firebug. |
@jdalton Be aware, that there are 2 consoles. One of them is activated by Ctrl+Shift+K (Web console), that will not list any errors. But if you press Ctrl+Shift+J (Browser console).... And, to be clear, did you see the alert box? |
Ok, I've spotted the error in the browser console. It looks like a much deeper issue with permissions in greasemonkey than with Lo-Dash. The specific issue is because greasemonkey doesn't like |
It's not clear for me, whether it is a greasemonkey or firefox issue. If the latter, I think lodash cannot afford to say it won't support firefox. I already mentioned the issue on a greasemonkey forum. |
Lo-Dash is tested in Firefox on each commit. I know scripts in extensions like greasemonkey have restrictions those in pages don't but I'm not familiar with it enough nowadays to drill down to the root cause. Try loading lodash without |
Without |
Create script elements and inject them? Ask the greasemonkey forum for tips/suggestions. |
The test script works (shows an alert) if you remove all But for some reason greasemonkey doesn't protest if I just call |
This is because Lo-Dash is using |
Thanks for resolving. I came across with lodash roadmap, but that's not clear, whether this fix will go to just 3.0, or there will be a 2.4.x build. |
It will go to just 3.0. |
That being the case I'm interested when 3.0 will be available. |
Hi @pihentagy! I'm wanting to simplify the window === this.window // true |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Don't know where to report, but anyway, the problem is:
Permission denied to access property 'toString' lodash.min.js:30
note: script loads https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js
The text was updated successfully, but these errors were encountered: