06 Jan
2014

javascript icon

Scanstyles does nothing in Webkit/Firefox/Opera – Fix

I had a client contact me with an email containing the following screenshot of a popup which has suddenly appeared when viewing their website with certain browsers – a website which has been up and live for over 12 months with no issues.

Scanstyles does nothing in Webkit/Firefox/Opera

Looking around the web I found out that the issue was caused with both an Internet Explorer update and a jQuery plugin called ‘curvycorners‘ which I use for sorting the CSS3 border-radius compatibility issue with older browsers.

Apparently back in November 2013 Microsoft released an update for Internet Explorer which changed its user agent from

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

to

Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko

With the big noticeable change being the missing MSIE which has been around for years. Several website scripts, whether they be the likes of php or javascript detect this value in the user agent details to control such things as browser compatibility for websites.

The problem script was the previous mentioned curvycorners that was causing the popup ‘Scanstyles does nothing in Webkit/Firefox/Opera’.

The fix that I found was to simply note out the following content in the curvycorners.js file.

Select Code
1
2
3
4
}
  }
  /* curvyCorners.alert("Scanstyles does nothing in Webkit/Firefox/Opera") */
};
Share on Tweet about this on TwitterShare on FacebookShare on LinkedInPin on PinterestGoogle+share on TumblrShare on StumbleUponDigg this
avatar

Written by me@grafxflow

I am a freelance designer and developer of all things web - from CSS3 bootstrap responsive layouts through to WordPress and MVC CodeIgniter. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Follow grafxflow on twitter Follow grafxflow on github Follow grafxflow on google+

9 Thoughts on "Scanstyles does nothing in Webkit/Firefox/Opera – Fix"

  1. 21 Apr
    2014

    Michael

    ok this looks useful.
    everytime I try to access something in my dns 320 page this error comes out.
    where to I insert this is info u writing?

  2. 21 Apr
    2014

    me@grafxflow

    If you find the curvycorners.js file and make the above amend it will stop the error message appearing.

  3. 6 Jun
    2014

    Bernard

    I made the suggest change in the curvycorners.js file and the annoying popup has gone. I appreciate your help.

  4. 6 Jun
    2014

    me@grafxflow

    Always glad to help.

  5. 16 Aug
    2014

    Carol

    I am not sure how to how to find the curvycorners.js file. When I do, do I type in the content you have on line 3? Sorry to be so dumb.

  6. 16 Aug
    2014

    me@grafxflow

    Hi Carol,

    The file should be in a folder called something like ‘js’ or ‘javascript’. Best way to find out is by using your browser to view the source code.

    Once you find the file just replace the line

    Select Code
    1
    
    curvyCorners.alert("Scanstyles does nothing in Webkit/Firefox/Opera")

    with

    Select Code
    1
    
    /* curvyCorners.alert("Scanstyles does nothing in Webkit/Firefox/Opera") */

    Hope this helps.

  7. 17 Oct
    2014

    erfan

    why is every time I log onto a web site and I get the message”scanstyles does nothing in webkit/firefox/opera” how can I get rid of this

  8. 17 Oct
    2014

    me@grafxflow

    If it’s your own website then you can change the above code – but if not I am afraid it’s the website(s) owners/developers who needs to update their code accordingly.

  9. 2 Nov
    2014

    Cor van Dijk

    Used software Joomla 3.3.6 and swMenuFree 8.3

    The words you give I could not find in both files.

    I found the phrase in curvycorners.src.js what is almost simular; in Line 1449 else curvyCorners.alert{‘Scanstyles does nothing in Webkit/Firefox/Opera’); I changed it to: else /*curvyCorners.alert{‘Scanstyles does nothing in Webkit/Firefox/Opera’)*/;

    Thank you for the given solution me@grafxflow!

Add Comment Register



Leave a Reply

Your email address will not be published. Required fields are marked *

Newsletter

Loading...