We have a extension on all the major browsers, everything works fine on Chrome, Firefox, Opera and Edge but on Safari we are unable to load remote images on some pages where the CSP is strict, for example in twitter.com
It seems the extension bypass this for all the browsers except in safari, we understand that there is the option of serving the images locally from the extension but this is not an option for us due the big amount of files we might need to load.
Is there anything that we can do to avoid this problem? We tried almost everything on "web_accessible_resources" but it seems to have no effect at all.
We are also noticing that this directives also cause issues with some post requests where it just returns a cached answer.
Related
Recently I made my portfolio website and as I tested it today, everything works just fine on all of the most popular browsers. The problem is - I have access only to phones with Android and laptops with Windows. That way I am unable to test Apple devices and Safari itself.
For that, I asked my friend to visit my website on her phone (she has iPhone), so I can check if everything is ok. Unfortunately, when she entered my domain, Safari was unable to load JavaScript at all. What's even worse, she then installed Google Chrome and Mozilla Firefox, and the same stuff happened.
We were testing my website also on MacBook - that time also on Safari and Chrome. On Safari, there were some errors (it seems that at least part of the script worked), and on Chrome everything was right. I wasn't able to explore the problems, as we only had limited time via phone call.
Right now, my main issue is - why any browser on iPhone was unable to load the script? I would be very grateful if someone with iPhone or other Apple device could tell me what's happening there. The additional issue would be the Safari on MacBook. Because in this case, I was unable to detect anything useful, other than that only part of the script seems to be working.
Also, I don't know if that matters, but I used Webpack to bundle all JavaScript files. All code + domain can be found in the links below:
The website domain is: www.pmiecznik.pl
If you want to see those scripts/ style files - they are in the src folder in my GitHub repository.
I want a mobile page to scan QR-codes and display it's content.
This is the page:
https://ndvibes.com/demo/TicketSystem/check (index.html)
Very weird, it's working on Firefox (Linux), but not in Safari (iOS 11.4 /iPhone 6).
I thought the library I used didn't supported Safari, or Safari restricted
it because of security reasons, but the demo of the library is working just fine on iPhone!
So it Safari seems to be supported, and it doesn't block it, because it's working in the demo...
I have no clue on how to fix this.
Safari asks for permission to access the camera, when granted, it just does not display the camera-content.
I also checked the settings of Safari, but didn't saw anything disabled that could block the webcam-video to show.
Edit: This code doesn't seem to work on Android either, very weird, the demo is working on desktop and mobile, and my own code is working on desktop, but doesn't work on mobile...
To Use on Apple devices you have to make sure:
1- You must use https, for the protocol http does not work.
2- You must use Safari because in Apple, the other browsers do not have permission or access to some javascript things.
3- must use some version so you can use both cameras.
Problem: I thought the library I used didn't supported Safari, or Safari restricted it because of security reasons, but the demo of the library is working just fine on iPhone!
Reason: I have gone through with your webcodecamjs.js and compared with demo webcodecamjs.js.I found that there are some differences in these files.May be lib-code taken from git and actual demo lib-code are diffrent.
Solution: Simply replace your webcodecamjs.js with demo webcodecamjs.js and it should work.
EDIT
Note: You have to start the camera by event trigger as Safari doesn't allow Autoplay.
I've set up a central WebApi site that will provide general CRUD capability for various sites across our domain. I've configured the whole shebang to utilize CORS with the standard jquery ajax httprequest or, in the case of older IE versions, XDomainRequest. So far, everything checks out, it works splendidly. My problem is that I can't seem to find a machine with IE8 in order to complete user agent testing. The site works wonderfully when I go into the developer tools on IE 11 and set it to emulate IE8 but I'm not ready to pop the champagne cork just yet.
My question is: will the developer tools' IE8 mode fully emulate that browser's behavior, down to the way it handles cross domain requests or do I need to either find a user with IE8 and have them test it or spin up a VM with it?
You can download a virtual machine with IE8 from Microsoft's modern.ie site at http://dev.modern.ie/tools/vms/ and test your site with that.
I've been developing an intranet application in APEX (accessed via the IP, port, and application number, like 10.1.6.94:8087/apex/f?p=937).
The problem is, when I had my coworkers test it, they ran into all sorts of problems because the javascript and other resources on the page were loading very slowly. They're all using Dell Latitudes, on different browsers. I checked through the internet options and compared to multiple desktops and the settings were the same.
No matter what I try, on these laptops, Internet Explorer and Chrome are very slow to connect to the site and load pages, and much of the functionality is gone (such as changing a dropdown causing a report to refresh, via dynamic actions in APEX). Firefox and Opera work just fine.
On my home laptop, my work desktop, and my colleague's desktop, the pages work fine in IE and Chrome.
I thought it might be the hosts file at first, but the hosts file on the problem laptops appears to be empty (except for the comments at the top).
I've tried all manner of things, such as:
adding the site to the trusted sites
checking to make sure that "Active scripting" was enabled under security settings (in internet options)
unchecking "check for server certificate revocation" and "check for publisher's certificate revocation" before restarting
turning off compatibility mode
unchecking "Display intranet sites in Compatibility view"
updating Chrome to use the latest Javascript engine on the problem laptops
When profiling the network usage in IE 11 on the problem laptops, it looks like files that are 20 KB in size are taking > 5 seconds to load, and sometimes connections can take 60 seconds.
I'm pulling my hair out and seem to have exhausted all resources I can find.
After hours and hours of searching, I stumbled upon the setting that was causing the issue. I was inspired by this: https://stackoverflow.com/a/1934605/1102199
Go into internet options (either Start -> "Internet Options", from the Control Panel, or in Internet Explorer, go to Tools -> Internet Options).
Then click "Connections", then "LAN Settings", then make sure to uncheck "Automatically detect settings." This was unchecked on all the computers where things were working correctly, and checked on the computers where things were slow. I'm still not sure why Firefox and Opera weren't affected by this, but there you have it.
We're using a third party content management system built on ASP.NET. The pages seem to display in IE9 mode on IE11. I used the MS IE10 compat inspector tool http://blogs.msdn.com/b/ie/archive/2012/01/20/ie10-compat-inspector.aspx to try and work out why the page is not displaying in IE10 or Edge mode. (The HTML5 feature that I'm trying to use should display in IE10 or 11.) The only warnings the tool gives are about Javascript which is using window.navigator to do browser sniffing.
The code that is using window.navigator is in a file called webresource.axd:
var __nonMSDOMBrowser = (window.navigator.appName.toLowerCase().indexOf('explorer') == -1);
which itself seems to be part of ASP.NET.
There are no javascript warnings or errors. Here's one of the pages:
https://secure.wycliffe.org.uk/NetCommunity/SSLPage.aspx?pid=283. This is with IIS6 on Windows Server 2003.
Could this be the cause of the IE9 mode problem? (I have <!DOCTYPE html> at the top of the document.)
Is MS's own tool really complaining about bad practise in it's own software?
Ah ha! It's because your server is sending the pages down with an X-UA-Compatible header, telling Internet Explorer to use IE9 mode.
To see it, open https://secure.wycliffe.org.uk/NetCommunity/SSLPage.aspx?pid=283 in IE10, and press F12 to bring up the developer tools. Switch to the Network tab, press Start and refresh the page. Once it's loaded, double-click on the first item, then switch to the Response Headers tab.
You should see a header in there: X-UA-Compatible: IE=9.
To force IE to use the latest rendering mode, go into the IIS configuration, find where it's being applied, and either remove it, or change it to a newer version, e.g. IE=10. Alternatively, IE=edge will always use the latest version's standards mode rendering engine. Be aware it's probably there for a reason, though! We've had to use that header in the past as a short-term workaround for IE10 issues in legacy .net applications.
See MSDN: Defining document compatibility for more information.