Browser compatibility issue - javascript

When we call the html page in browser with images in Mozilla Firefox browser could not load image in windows but in chrome images are showing even in IE also , And when we call same page in Ubuntu Mozilla Firefox the image will be display, same issue in Mac in Mozilla Firefox image could not load display. But in safari browser images are display.
And when we run Mozilla Firefox in safe mode that fine and display images in windows.

You can try the following solutions:
Clear cookies and cache
Images may not be loaded due to security issues and so you can try: Click the Site Identity Button->More information… button->Permissions panel->Select Allow( next to Load Images)->Refresh and try again
source:
https://support.mozilla.org/en-US/kb/fix-problems-images-not-show

Related

Is there a way to open a tab within an iframe with a different web browser

Some things in pages can't run on certain web browsers it seems. Soccer Physics is a game on ottoojala.com/soccerphysics and it doesn't run on chrome, saying it needs internet explorer.
Is there any way in which I can run this page on internet explorer using an iframe within chrome. What I mean by this is can I get the functionality of internet explorer into an iframe on chrome?
Any suggesetions can help.
Thanks.

Chrome extension equivalent for firefox add-on sidebar

I am trying to create chrome extension that will create floating overlay (static one that dose not refresh), Similar to firefox add-on "ui sidebar"
Is there any way to maintain iframe like overlay that wont be effected by the page, and wont be reloaded when the tab reloads.
The simple answer is NO.
What you are describing is basically called browser chrome, i. e. UI. The only chrome Google Chrome extensions support since forever are page actions and browser actions.
Opera also supports sidebar actions. Rumor is, Firefox WebExtensions will support that too.
Chrome has no support however. It's on the wishlist but has no actual proposal/intent to ship. Apparently, there has been a recent decision not to pursue this.

Canvas breaks through page loads + cookies until quitting browser on windows chrome only

We have a canvas app which is persisting a problem across page loads all the way until chrome quits, with no errors.
What can persist across page loads even after we clear cookies, and are not using localStorage?
Specifically, we are drawing one canvas onto another via a drawImage operation. Commenting this out stops the problem.
We can no longer even draw a line into a new canvas until we quit the browser. Does not happen on latest OSX Chrome, Safari, Firefox, Windows Firefox.
Any ideas are extremely appreciated!
The answer is a bug in the current windows chrome caused by hardware acceleration.
https://code.google.com/p/chromium/issues/detail?id=281738#makechanges

Rails image preview across all browsers

Is it possible to preview image (on upload) before saving across all the browsers.
I have implemented this way for Firefox:
document.getElementById("preview-photo").src = what.files[0].getAsDataURL();
this works fine, and, for IE
document.getElementById("preview-photo").src = what.value;
this docent work and same case with other browsers like Chrome and Safari.
Currently I can see preview only in Firefox, other browsers not showing preview.
Please, advise me how to work on this.
Thanks
There's no completely cross-browser way to do this due to security settings in most browsers preventing file control access.
This may indicate a work-around for FF3, IE7, and a handful of other cases:
How to upload preview image before upload through JavaScript

Javascript problem in Chrome and Safari

I have a Javascript image switcher on my products page. It working perfect in IE and Firefox but both Safari and Chrome fails to load the script on some pageloads. A refresh seems to fix it but when changing product page or language it crashes.
The product page
Im using Wordpress and the script is varal.org/media/imageswitcher/
Thanks!
Anton
I did not experience any issues in either Chrome or Safari for Windows on your product page. Try this in Chrome, to check if the two scripts (imageswitcherconf.js and imageswitcher.js) are being loaded:
Press Ctrl+Shift+J to open the JavaScript Console/Developer Tools window.
Click the Resources tab on the top of the window.
Enable resource tracking/script debugging if you have to.
With the JavaScript Console/Developer Tools window still open, perform an operation that would normally trigger a crash, such as switching languages.
On the left side of the window, under the Resources heading, you should see imageswitcherconf.js followed by imageswitcher.js. (For me, they appeared fourth and fifth in the list, respectively.)
If the files aren't being loaded:
Are you behind a caching proxy?
Is your browser cache clear?

Categories