Created
April 25, 2012 18:42
-
-
Save cognitom/2492097 to your computer and use it in GitHub Desktop.
Safari doesn't say "PASS"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.7.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| url = 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.engadget.com/rss.xml&callback=?'; | |
| $.getJSON(url, function(){ | |
| alert('PASS'); | |
| }); | |
| $('head>script').remove(); | |
| </script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.7.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| url = 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.engadget.com/rss.xml&callback=?'; | |
| $.getJSON(url, function(){ | |
| alert('PASS'); | |
| }); | |
| $('body>script').remove(); | |
| </script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.7.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| $('script').remove(); | |
| url = 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.engadget.com/rss.xml&callback=?'; | |
| $.getJSON(url, function(){ | |
| alert('PASS'); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <script class="jquery" src="http://code.jquery.com/jquery-1.7.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| url = 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.engadget.com/rss.xml&callback=?'; | |
| $.getJSON(url, function(){ | |
| alert('PASS'); | |
| }); | |
| $('script.jquery').remove(); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment