MAILTO max-length of each internet browsers?

Safari and most email clients have no hard limit (depends on available CPU and RAM) 2015 Web Browser Testing: Safari 705000000 2 minutes Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56 limited by 16GB RAM Firefox 268435455 20 seconds Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0 limited … Read more

PreventDefault alternative for IE8

I use something like: (event.preventDefault) ? event.preventDefault() : event.returnValue = false; the event.returnValue property is the closest IE equivalent to preventDefault. Using return false; can sometimes also work, but it can lead to unexpected behavior sometimes when mixed with e.g. jQuery (jQuery also does stopPropagation…which is usually what you want, but…), so I prefer not … Read more

IE cannot download foo.jsf. IE was not able to open this internet site. The requested site is either unavailable or cannot be found

This is a typical MSIE error message when a download is been provided over HTTPS (SSL) while the response headers are been set to disable the browser cache via no-cache. This issue is not related to JSF. You need to relax the response headers which have influence on the browser cache. It should not contain … Read more

innerHTML removes attribute quotes in Internet Explorer

IE innerHTML is very annoying indeed. I wrote this function for it, which may be helpfull? It quotes attributes and sets tagnames to lowercase. By the way, to make it even more annoying, IE’s innerHTML doesn’t remove quotes from non standard attributes. Edit based on comments The function now processes more characters in attribute values … Read more

Launch IE from a link in Chrome

Ok so I did the following which works : HKEY_CLASSES_ROOT alert (Default) = “URL:Alert Protocol” URL Protocol = “” DefaultIcon (Default) = “iexplore.exe,1” shell open command (Default) = cmd /k set myvar=%1 & call set myvar=%%myvar:alert:=%% & call “C:\Program Files (x86)\Internet Explorer\iexplore.exe” %%myvar%% & exit /B Then have your link <a href=”alert:www.google.ie”>link</a>

mailto fails in IE where there is a long body text. Is there any way to resolve this?

I never could get the location.href = mailtoHref hack to work. However, I have found that following works. $(‘body’).append($(‘<iframe id=”mailtoHack” src=”‘ + mailtoHref + ‘”/>’); $(‘#mailtoHack’).remove(); EDIT Here is a way to do it without jQuery: function mailtoHack(href) { var iframeHack; if (href.indexOf(“mailto:”) === 0) { iframeHack = document.createElement(“IFRAME”); iframeHack.src = href; document.body.appendChild(iframeHack); document.body.removeChild(iframeHack); } … Read more