After reading another StackOverflow question, I started using this javascript "plugin" across my websites. However recently a client told me that it isn't working in IE9. I use Windows XP so I can't test IE9 but I'm 99% sure he's telling the truth. Any ideas?
The code you suggested (copyrighted by a porn site) tests MSIE 8 and higher and uses window.external.AddToFavoritesBar which was introduced in IE8.
I have now successfully tested your suggested code it on >>THIS PAGE<< in the following browsers - all on windows XP except IE9 which I tested on vanilla default win7 installation (IE9 only runs on Win7 or an upgraded Vista)
IE9 - bookmarks
IE8 - bookmarks
Safari5 - shows ctrl-d
Chrome10 - shows ctrl-d
Fx4 - bookmarks in sidebar
Opera v11 - bookmarks
Mozilla 1.7 - does not show the link.
So the answer to your question is: The code you want to use should work and does work in a standard installation of windows 7 with IE9 default install.
For the readers of this question, here is something much simpler which will work on all browsers (except, for some weird reason, Chrome), simply do this:
Page bookmark (Please right-click to bookmark): <a title="Title of the bookmark (for Opera)"
href="http://fullyQualifiedUrlToYourSite.com/page.html">Title of the bookmark</a>
or if you insist:
Page bookmark (Please right-click to bookmark):
<a title="Title of the bookmark (for Opera)"
href="http://fullyQualifiedUrlToYourSite.com/page.html"
oncontextmenu="if (navigator.userAgent.indexOf('Chrome')!=-1)
alert('Click ctrl-d to bookmark, as you already know as a Chrome-using techie')"
>Title of the bookmark</a>
Related
There is a website that I must use at work quite a bit and the only browser it works on is Internet Explorer.
I'm presuming this is because the code is outdated/incorrect and includes javascript that only IE is able to read.
This is a problem, because I want to use Firefox or Chrome, they are much better browsers.
I believe the issue is Firefox/Chrome (hereinafter referred to as foam) not being able to recognize the following "onclick" command lines. When I press these buttons, the web page does not change as it should.
<button class="MenuButton" title="Create ICL" value="ADDICL" onclick="PageJump('ICLMain.asp?From=ICLHome')">Create ICL
So.... since this is not my website, I cannot re-write all of this code to fix it. It is a corporate owned underwriter website for creating a certain document.
There must be some sort of extension that enables Firefox/Chrome to read Javascript codes like Internet Explorer so that I can use Firefox/Chrome and still use this website.
Try to use chrome extension ie tab, https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd?hl=es. This extension emulate The ie Explorer.
I'm also facing the same problem(Javascript broke). The solution I found is to just add https:// before the link and reload the page and everything will work fine again.
Can adobe-brackets be used with any browsers other than chrome?
If so, how can I implement it?
Enable File > Enable Experimental Live Preview.
You can then start Live Preview, which will initially be opened in your default browser. But the thing is, you can copy the page's URL to any other browser (Firefox, IE, Safari, Opera, ...) and all will be live-updated simultaneously.
More info:
Multibrowser Live Preview in the Wiki (outdated)
Release 1.1 announcement
I think you mean brackets.io. If so, the only supported browser is chrome (it's mentioned under Brackets Highlights - Live Preview - Other limitations) https://github.com/adobe/brackets/wiki/How-to-Use-Brackets
I have developed this WEBSITE but the javascript wont work on Versions lower than < IE9
IE shows an error message on 2 of my javascript files(please find below)
re.js (Line 386)
Link to code HERE
holder.js(Line 316)
Link to code HERE
I have been fighting over this quite a while now and I have not found any solution.
Any feedback would be appreciated.
Please visit the link so you can inspect error(use IE version < 9)
All the rest browsers(Including Android and IOS mobile browsers) work fine with no problems at all!
I have one of those issues that I have been staring at and researching, but can't figure out.
I am loading a listing page with a hash: (example URL)
service_page1.php?u=XX01-TR000016#000016
I have my anchors set: (Example Code)
<div class="b_list_normal_row_ws">
<a name="000013"></a>
<div class="b_list_row_item_But"><img example />
</div>
</div>
Currently I am testing within Safari (latest version) on a Mac. When I load the page, it scrolls to the proper spot for the anchor and then scrolls to the top. I have read other threads about stopping the auto-scroll to the top, but not found one (as of yet) that solves my problem.
Update: I have been working to figure out what could be causing this issue. I have since discovered that if I remove ALL included js files, then the anchors work just fine. However, if I include even the jquery file, then they stop working. The search continues...
Upon serious amounts of testing, it turns out that Safari (6.0.4) is the cause of the problem.
Tested with different browsers, Safari is the only one that is having the problem with the anchors.
With Safari, there is some form of conflict between javascript and the anchors, though it is out of my control. I have updated all my scripts to the latest versions also.
Browsers tested, all the latest possible versions:
Safari (Windows)
Firefox (Windows)
Chrome (Windows)
IE 9
Firefox (OS X Latest)
Chrome (OS X Latest)
Safari (iOS)
Chrome (iOS)
Safari (OS X Latest)* The problem child
UPDATE (June 11):
I have just tested the same site with the new version of OS X and Safari in the public preview and it seems that they fix this issue with the next release. Hopefully, they don't break it again before then.
I have the below site:
http://kelseydelo.com/
When I click the main nav links in Safari the content slides properly. However in Chrome and Firefox nothing happens when I click these (no errors in Firebug either).
I believe it used to work in FF so it seems a recent upgrade has broken it.
Anyone know what the problem could be?
you use mootools 1.2.3 which is old. in 1.2.3, mootools utlised feature detection for browser detection - and in particular, it was a problem with firefox as it relied on the following code:
if (!document.getBoxObjectFor ...)
but that method got made obsolete by mozilla. subsequently, in 1.2.5 and 1.3 mootools detection was done so it does not rely on this any more (breaking change was FF 3.6.nn or something)
on your site in FF 4.0 you can run
console.log(Browser.Engine)
and it comes back as 'unknown' - which will make any browser-specific hooks and fixes fail.
In Chrome 13 Canary, it detected webkit fine but does not work either so there must be something else -- legacy here... in other words, UPGRADE to 1.3.2 (which uses ua-sniffing) - if noobslide supports it, else go 1.2.5.1