I have implemented recaptcha on my site but it doesnt work in IE11.
I get this console error:
SCRIPT5005: String expected
recaptcha__en.js (17,24)
Any ideas what this may be and why IE is complaining?
Just remove the script src for google ReCaptcha from index.html and used loadRecaptchaScript=true in vue-recaptcha.
Related
I am trying to get an image from Google Storage API
hence I used this line of code in my html
<img src="http://storage.googleapis.com/property_home_image/1405009694204ioiqlxmseplcn.jpg"/>
However, I get an error message on my console for chrome, which is
GET http://storage.googleapis.com/property_home_image/1405009694204ioiqlxmseplcn.jpg net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
It works fine all on all browsers except for Chrome, may I know how I am able to solve such issue.
1405009694204ioiqlxmseplcn.jpg does not exist in the property_home_image bucket.
Since yesterday I have a strange error on line 0 in "https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js" (Google jQuery Api). It just says "Script Error". I have researched about the error, but I just found something like this. I dont think Google forbid Same-origin policy access.
Can anyone tell me how I can fix this error?
I get this Error in Safari, Chrome and Firefox.
edit:
I monitor the error messages with the help of
window.onerror = function (text, file, line) {
}
It seems, that a Problem at the google Hosted jQuery File occured, which you examine with window.onerror. When you want to see a correct Error, download the Library and use a internal link to the Library:
<script type="text/javascript" src="//your.site.com/jquery-2.1.1.min.js"></script>
If this dont fix the Error, use the non-minified Version to determine the Error.
I'm using PHP to retrieve data and publish the data as an RSS feed. The script I have works fine on Firefox but not on Chrome.
This works on Firefox but not chrome:
getData.php?id=1744225&odds=1
This works on Chrome:
getData.php?id=1744225&odds=1
Chrome seems to need the full ampersand code in the URL:
"&"
The full URL is rendered in a backbone template like so:
<i class="icon-rss" id="rss"></i>
On Chrome this is the error I'm getting:
This page contains the following errors:
error on line 1 at column 1066: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.
How can I prevent this error being produced on Chrome? It looks like the template has the correct code in it.
Thanks in advance.
I had that problem once - I was lazy and set up a javascript event listener that replaced the '&'s with &
I am trying to use the jQuery.load() function, and it works on Firefox, but not on Safari and Chrome. The odd part is that it works on mobile Safari.
All of the posts I found on this subject appeared old and outdated.
Does anyone have a solution to fix this problem?
Here is sample code from my page:
<div class="navButton"></div>
<script>
$(".navButton").load("bottomNav.html");
</script>
The error console tells the story here.
Failed to load resource: the server responded with a status of 404 (Not Found)
http://yellowtailderby.com/jquery-2.1.0.js
Uncaught ReferenceError: $ is not defined
So, when you try to execute:
$(".navButton").load("bottomNav.html");
The $ symbol is not defined because jQuery is not successfully loaded.
The issue seems to be that this:
http://yellowtailderby.com/jquery-2.1.0.js
does not exist (gets a 404 error) so this script tag:
<script src="jquery-2.1.0.js"></script>
is not working properly. The fix is to either correct the script tag or make sure that particular file is properly located on your server at that path.
I am getting the exact same error in Firefox, so I suspect that maybe you have that file in your browser cache in Firefox (so it's getting loaded via cache), but it doesn't actually exist on the server. The Firefox reports:
"NetworkError: 404 Not Found - http://yellowtailderby.com/jquery-2.1.0.js"
I am getting (NS_ERROR_DOCUMENT_NOT_CACHED) error when I try to access the Javascript code through firefox.I get this error in the contents tab of HTTPFOX.
I googled and set the parameters of browser in config file as specified in this site but it still doesn't work.
http://code.google.com/p/httpfox/issues/detail?id=20
Can somebody suggest whats going wrong since the same code works fine for safari browser..
If anyone is interested in a solution to this, I believe it's to do with the plugin noscript. Disabling it fixed this, but I have yet to work out what part of noscript was causing the issue. Will update if I find out.
Edit:My issues was with a twitter auth callback. In the Advanced settings of noscript under ABE, in the SYSTEM ruleset, on the line "Accept from LOCAL" I added "*.twitter.com". This allowed callback requests from *twitter.com to return to a local address.
On my macbook I had to uninstall firefox completely to correctly get the content of an ajax response with httpfox. This also implies to remove the firefox profile bij removing this Firefox folder (I could only find it via the terminal and not via Finder):
/Users/<YOURUSER>/Library/Application Support/Firefox
Then install firefox again and install the httpfox add-on.
I tried many cache settings also by entering about:config in the firefox URL however without succes. Be aware that removing the profile settings like I describe will also remove all your personal firefox customization. It concerned firefox 18.0.2 and httpfox 0.8.11.
We used to get the same error when our JavaScript made an XMLHTTPRequest to the server. On the server side, we had java, and the java response, the content type was not explicitly set to "text/html". When that was done
resp.setContentType("text/html");
the error went away.