if (key == 'codebase' && window.location.protocol ==
'https')
This should be:
if (key == 'codebase' && window.location.protocol ==
'https:')
(note missing trailing colon)
This correctly prevents the "This page contains both secure and
nonsecure items. Do you want to display the nonsecure items?" dialog
in Internet Explorer on https pages.
Thanks to Mike Alsup for a great plugin!
No comments:
Post a Comment