duckfly-tw / css3-mediaqueries-js

Automatically exported from code.google.com/p/css3-mediaqueries-js
0 stars 0 forks source link

IE7/8 throws: "This page is accessing information that is not under its control. This poses a security risk." #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Include Script to page
2. Open Page in IE7/8 mode
3.

What is the expected output? What do you see instead?
Expected - normal behavior, working script;
Actual - IE prompts: "This page is accessing information that is not under its 
control. This poses a security risk.Do you want to continue?", then script 
works.

What version of the product are you using? On what operating system?
Windows 8 with IE10 in IE7/8 mode

Please provide any additional information below.
possibly caused by XMLHttpRequest.
Script would still work whether user have chosen "yes" or "no" on prompt.

Original issue reported on code.google.com by aspop...@gmail.com on 22 Jan 2013 at 1:39

GoogleCodeExporter commented 9 years ago
The conflict is caused by the call for google fonts.  To remove the call, add 
this code to the end of the functions.php file:

function remove_open_sans() {
   wp_dequeue_style( 'twentytwelve-fonts' );
}
add_action('wp_print_styles','remove_open_sans');

This solved the problem for me.

Original comment by iveydo...@gmail.com on 19 Apr 2013 at 2:16

GoogleCodeExporter commented 9 years ago
Sorry, the above is assuming you are using wordpress. But in general, I've 
found this code does not work with google fonts.

Original comment by iveydo...@gmail.com on 19 Apr 2013 at 2:18

GoogleCodeExporter commented 9 years ago
I was not using word press, and was not using Google fonts on the project.
I was using @font-face's if that's relevant.

Original comment by aspop...@gmail.com on 20 Apr 2013 at 9:34

GoogleCodeExporter commented 9 years ago
I'm having the same issue, on a stand alone html file that's calling @font-face.

Original comment by ke...@kgcreative.com on 4 Sep 2013 at 4:54

GoogleCodeExporter commented 9 years ago
Mee too have same issue

Original comment by srinivas...@gmail.com on 26 Dec 2013 at 11:15

GoogleCodeExporter commented 9 years ago
I'm having the same issue on my site. I am not using google fonts but am using 
my own custom fonts that are locally hosted.

Original comment by berman....@gmail.com on 26 Mar 2014 at 10:10

GoogleCodeExporter commented 9 years ago
Back from the dead... There is a new version of the script. It has some CSS 
parsing and processing improvements. If you're still using it, or would like to 
try again, could you confirm that this issue is solved or not?

Original comment by wou...@dynora.nl on 4 Apr 2014 at 11:46

GoogleCodeExporter commented 9 years ago
Where is the new version of the script? Should I download by checking out the 
SVN repo?

Original comment by berman....@gmail.com on 4 Apr 2014 at 9:04

GoogleCodeExporter commented 9 years ago
I fixed the issue myself if anyone is interested? I adjusted the code so it 
would ignore linked stylesheets on other domains.

Original comment by berman....@gmail.com on 11 Apr 2014 at 5:54

GoogleCodeExporter commented 9 years ago
I recently ran into this error as well with a Wordpress site. Has the code been 
updated? Where can I grab it from?

Original comment by RSAdevel...@gmail.com on 1 Dec 2014 at 7:57

GoogleCodeExporter commented 9 years ago
I am having this problem in WordPress.  Will the code suggestion from iveydo 
above work as shown:

function remove_open_sans() {
   wp_dequeue_style( 'twentytwelve-fonts' );
}
add_action('wp_print_styles','remove_open_sans');

Original comment by reflecti...@rye5190.org on 15 Jan 2015 at 2:23