Re: Internet Explorer JavaScript Weirdness
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Fri, 11 Apr 2008 23:08:53 +0200
Prisoner at War wrote:
I have a JavaScript search engine that always causes MSIE 7 to do a
top-of-page security "warning" (that top-of-page-bar, and not an
"alert" [dialog box])...but other websites' JavaScripts do not trigger
that...what's going on? When I visit other JavaScript sites there's
no warning and the scripts work fine, but mine (it's still under
construction, offline) occasions that warning and I have to manually
allow MSIE to run JavaScript every new session of MSIE....
The "JavaScript" search engine (MSIE 7, like all MSHTML-based UAs, provides
JScript instead) uses an ActiveX/COM object that is deemed insecure by MSIE
7. The other sites that you have checked either do not or they are defined
to be in another Security Zone where less restrictions apply.
This is no guessing game at all. Post some code or the URL of your search
engine.
http://jibbering.com/faq/
Also (nothing to do with JavaScript, but I might as well ask, in case
it helps any), I have an animated .jpg that refuses to load in MSIE 7
though Opera 9 and Firefox 2 display that perfectly.
There are no "animated .jpg", unless the resource name suffix is not
indicative of the file format in your case (bad idea with MSIE). JPEG is
not an image format that allows animation (short of progressive rendering),
you have to use GIF89a or MNG for that (alas, the latter only with limited
support).
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
.
- Follow-Ups:
- Re: Internet Explorer JavaScript Weirdness
- From: Prisoner at War
- Re: Internet Explorer JavaScript Weirdness
- References:
- Internet Explorer JavaScript Weirdness
- From: Prisoner at War
- Internet Explorer JavaScript Weirdness
- Prev by Date: Re: Javascript Popup
- Next by Date: Re: Javascript Popup
- Previous by thread: Internet Explorer JavaScript Weirdness
- Next by thread: Re: Internet Explorer JavaScript Weirdness
- Index(es):
Relevant Pages
|