Things that IE Can Do, but Mozilla Cannot

Mozilla Firefox is great browser but there are somethings that we have in Internet Explorer is not available on it.

Set Home page / Add to favorite
The links of “Set Home page” and “Add to favorite” are very common in websites to encourage visitors returns. However, these functions are exclusively for IE only. Netscape/Mozilla browser do not support them.

Example:
Bookmark this page

Workaround:
We probably do not want to left out the non-IE users, the workaround solution will be displaying keyboard shortcut(Ctrl+D) if visitor is not using Internet Explorer.

Here is the JavaScript “bookmark this page” code that works for both IE and Netscape/Mozilla.

if (navigator.appName=="Netscape") {
document.write ( 'Bookmark this site(Ctrl+D) ' )
}
else if (parseInt(navigator.appVersion)>3) {
document.write (''
+'<a onMouseOver="self.status='Bookmark this site'" '
+' onMouseOut="self.status=''" '
+' href="javascript:window.external.AddFavorite'
+'('https://old.liewcf.com/','
+''LiewCF.com - Tech Gadgets Blog')">'
+'Bookmark this site</a>.'
)
}

For Set Homepage, Netscape/Mozilla have no keyboard shortcut. You need to manually drag and drop the website address to the ‘Home’ icon, or set in ‘Preference’. Here is a JavaScript source code for ‘Set Homepage’. It display Set Homepage instruction for non-IE visitors when click on the link.

Multiple Line Tooltip
Netscape/Mozilla does not support multiple line tooltip(title attribute). For IE, you just put \n into title value and it will become multiple line.

Sample code:
<a href="https://old.liewcf.com" title="this is a \n multiple line tooltip">LiewCF</a>

Workaround:
Actually, tooltip should be short and therefore single line. Netscape/Mozilla do not support multiple line tooltip. However, there is alternative solution by using CSS.

Share this:

Similar Posts