when using simple example like at
https://developers.facebook.com/docs/reference/dialogs/oauth/
after auth box prompting for additional permissions appears, it jumps around the screen, and there is this message in the java console
Unsafe JavaScript attempt to access frame with URL https://s-static.ak.fbcdn.net/connect... etc.
The unsafe message can be ignored. It just happens before the cross domain loader code has initialized.
Never seen the chrome issue. Could you provide version numbers of browser and OS please?
Related
I need to force my users to Sign out from all their Google accounts. I have a link which can do that:
https://www.google.com/accounts/Logout
And also I found a way in javascript how can I trigger this link:
new Image().src = "https://www.google.com/accounts/Logout";
Everything works except incognito mode and Firefox webbrowser.
The result in Web browser console is exactly the same in both situations and also it triggers that endpoint cause I can see entries in Networking which response with status 200, but I am still sign in with accounts.
Do you have any idea what might be wrong? There is no error in console. I do only receive CORS blocked but I don't care about response. I just need to make sure users are logged out before they do next actions in my website.
Do you have any other ideas how can I achieve that?
Thanks in advance
A week ago i think, I started getting warning messages in my google chrome console.
Clearing cache doesn't change anything, the messages disappear only in incognito mode.
Any ideas how to get rid of these warnings ?
I had this problem with the LastPass browser extension. I proved my theory by disabling LastPass and reloading the site in question - the warnings were gone!
I really didn't want to disable the JavaScript and CSS source maps so I have made the following change below:
Pending an update from the LastPass that addresses the issue, I have temporarily fixed this by changing one of the settings in the Extension settings for LastPass.
I had this setting previously set to On all sites, which was injecting the LastPass code on all sites blindly. With this change you need to right click on the Username/Password box to enable last pass, but on the plus side there are no warnings in the console anymore.
I consider this a temporary workaround until either Google or LastPass fix the issue.
EDIT: There is also a checkbox in the settings dialogue for the Console tab itself called Selected context only. Ticking this will remove the warnings and errors from Chrome extensions. Note this setting is not persisted - you'll have to click it each time you open the Dev Tools.
I've just used Chrome Console Filter -chrome-extension. I see everything except chrome-extension output.
For me it was the McAffee Web Advisor Chrome extension - removed and messages gone :)
this worked for me:
Find the path to the extensions. Type this in chrome: chrome://version/ . Look for the profile path. this location is where the extensions are saved.
Open the location with the file explorer. In my case it was something like (AppData\Local\Google\Chrome\User Data\Default\Extensions\hdokiejnpimakedhajhdlcegeplioahd\4.51.0.1_0) The error was with the last pass plugin.
Create the missing maps. In my case it was: sourcemaps/
Note that i only created the empty maps.
All I did is disable my LastPass extension(plugin), clear browsing data, hard reload the page and it works fine.
It might be another plugin for you
You need to open settings from the debug console
Then you disable one of chrome's option (They added it recently)
Just refresh the browser and all ready
I'm facing an issue with chrome 28.
I build an application that use the webcam to take picture.
I had no problem with it, but since I upgrade to chrome 28, my application is not working anymore (I'm getting an error with the getUserMedia function).
Here is the message : {"constraintName":"","message":"","name":"PERMISSION_DENIED"}.
If I try to run the app code on a simple html and httpserver, I got no problem with it.
And when using the APP I'm not asked anymore if I allow the usage of the webcam.
I've tried to turn on some chrome flags for webrtc but nothing change.
Does anybody has/had this issue ?
Thanks !
You may have accidentally denied access to the webcam in the past. If your site is being served via HTTPS, that setting will be saved. This page has a description of that error and a screenshot that shows what the settings should look like.
Once you have tried all the above:
Make sure that there is no other program or browser tab accessing the camera.
If you are on Android, open a camera App to make sure that the it's not stuck (it happens to me all the time with Cyanogen).
What the browser is reporting is that a media source is missing (might be permissions, config or harware). More info here: http://webrtchacks.com/getusermedia/
Once you have made sure that the site is not blocked in Privacy content settings, Goto chrome://flags/#enable-permissions-bubbles in Chrome and ENable these . Now the notification will appear asking for permission to access the web cam , just click allow .
I am experiencing a problem on the mobile version of my site where I get a HTTP 302 Found message in Firebug on Firefox, but the message is in red. I am spoofing Firefox to switch the User Agent string to mimic an iPhone, this lets me debug the mobile site on a desktop.
The problem is I cannot understand why I would get a blank response for my request, particularly when I don't get any errors in the Apache error log.
Where should I be focusing my attention on for this problem? I don't have this issue on the desktop site, which shares back-end functionality - it only occurs on mobile.
I'm also getting no JavaScript errors in the console.
The status code 302 means that the browser should open a different URL. Take a look at the headers, then you see the URL next to "Location:". Maybe there is something wrong with that URL.
The reason this does not happen with the desktop version could be that there is either no need to redirect (only the mobile site is at a different URL) or only the redirect for the mobile version is wrong.
I believe this error/warning is caused by a mixture of crossing protocols (HTTP->HTTPS) and also that the Firebug plugin for Firefox displays this scenario in red (making you believe an error has occurred).
My investigations have led me to believe that using JSONP, instead of JSON, when crossing protocols in this fashion will help.
I am using valums ajax-upload together with a ashx handler to let users upload files in the webapp Im developing. All is working absolutely fine for about 95% (around 3000) of the users.
For the last about 5% I get reports that the upload never finish, the wheel just keeps spinning people say. It seems that those who get this error are all are using IE9.0.
I have tested on all the IE9.0 I can come across but still have not been able to reproduce the error. I also have tried to log all thinkable errors but still no luck.
Please, can anyone reproduce the problem and hopefully give me a JavaScript console error transcript if any. To test go to step 2 (Upload section) and try to upload a small text file:
https://jobmatchprofile.com/backend/login.aspx?auto_login=24G3FY
UPDATE
I have been in contact with a user who experienced this problem. The error message can be seen here. It is in danish and says: "SCRIPT5 Access denied".
Error message
What is strange is that the user had same IE version as is working for others (me for example): I have been testing on: 9.0.8112.16421 and also ran WIN7 (as I). The Product-id differs however and he had a danish version where I have the US version.
UPDATE II
I was finally able to reproduce this error. I know this sounds a little strange, but belive me it is true: when opening the page via a link sent to my gmail account I get the same error. The user from first Update also used gmail to open the page.
Your reference to Gmail, specifically, points in the direction of a solution: Gmail strips the referrer data from the HTTP headers when you click on a link within an e-mail, except when you use your right mouse button and select "Open in New Tab [or Window]", presumably because this prevents their code from intercepting the headers. Is your script checking for a valid HTTP REFERRER, by any chance?
Are you making any cross-(sub)domain or cross-protocol AJAX calls? If so, then you may have to proxy the request(s). Consider the following solutions from the Yahoo! Developer Network:
http://developer.yahoo.com/javascript/howto-proxy.html
See also:
SCRIPT5: Access is denied in IE9 on xmlhttprequest
Access denied to jQuery script on IE
"Access is denied" JavaScript error when trying to access the document object of a programmatically-created <iframe> (IE-only)
(Un)fortunately, I wasn't able to reproduce the error in IE9, v. 9.0.8112.16421 (although I did get a general on-site error when trying to upload an empty .txt file, but this seems wholly unrelated).
The solution for ie9 is simply to upload using https:
https://www.parse.com/questions/internet-explorer-and-the-javascript-sdk
Even though you are sure that it's related to the user clicking the anchor within the email I would say it's because of policy settings within Internet Explorer. I have seen errors like these before and noticed that the most common errors were related to Internet Explorer policies of users within a corporate environment.