GithubHelp home page GithubHelp logo

Error in Firefox 6.0.1 about noisy HOT 8 CLOSED

danielrapp avatar danielrapp commented on August 17, 2024
Error in Firefox 6.0.1

from noisy.

Comments (8)

DanielRapp avatar DanielRapp commented on August 17, 2024

I am unfortunately unable to replicate your error. What OS are you on?

Are you getting the same error on this page?
If not, would you mind providing me with an exact jsfiddle example?

from noisy.

throughnothing avatar throughnothing commented on August 17, 2024

Hey, I am using OS X 10.6. I get the same error on your jsfiddle page:

Security error
[Break On This Error] (function(c){c.fn.noisy=function(b){b=...b.monochrome?g:~~(Math.random()*255);

jquery.noisy-min.js line 1

I thought maybe it could be related to addons/extensions but I tried disabling them all (except firebug) and still get the same error.

from noisy.

DanielRapp avatar DanielRapp commented on August 17, 2024

Very odd.

I should have this in the first place, but would you mind trying it without minified code. Here is a jsfiddle page.

Maybe that'll show what line produces the error.

from noisy.

throughnothing avatar throughnothing commented on August 17, 2024

I thought of the same thing. It still gets an error, but maybe now it is more useful:

I get the security error on line 7:

if (window.JSON && localStorage.getItem) { 

from noisy.

DanielRapp avatar DanielRapp commented on August 17, 2024

I wish I could replicate your error so that I wouldn't have to bother you with each and every hunch I have.

Try this

I have now replaced this:

localStorage.getItem

With what Modernizer uses to check if localStorage is supported.

'localStorage' in window && window['localStorage'] !== null

Hopefully that will help. If not, could you check if localStorage and the get and set methods are supported? Just type localStorage, localStorage.getItem and localStorage.setItem into the console.

EDIT: Changed link since I noticed that I check if localStorage is supported twice.

from noisy.

throughnothing avatar throughnothing commented on August 17, 2024

Well it looks like the security error was from my cookie settings. I didn't realize this was using cookies, and with cookies not allowed, I guess firefox handles this with a security error.

If I enable cookies for the site, it looks like it works fine. Sorry I didn't realize this sooner, it definitely seems like that was the issue.

from noisy.

DanielRapp avatar DanielRapp commented on August 17, 2024

Technically it's not using cookies, it is using localStorage. But disabling cookies probably disables localStorage as well.

I finally managed to replicate the error on my machine and fix the bug. Thanks for the help!

from noisy.

throughnothing avatar throughnothing commented on August 17, 2024

Awesome, no problem, glad I could help.

from noisy.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.