The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to bypass "Click to activate and use this control" IE ActiveX Fix Guide
Preparing Websites with Active Content for Announced Browser Changes Many of you have read about the announced changes in Microsoft Internet Explorer. You may have some questions about what's going to happen to your websites that use embedded ("active") content and applications. Active content can include Macromedia Flash, Shockwave, or Adobe Acrobat files. You are probably starting to consider what you're going to do to be prepared. How Will the Browser Changes Affect My Site? What will the effect of the browser changes actually be? How soon are these changes happening? Will users still be able to view active content tomorrow or next week? Users will be able to view embedded content and applications in their present form?until they update their Internet Explorer browsers on Windows. The browser update was first released as an optional update in February 2006. After users update the browser, they have to click embedded or "active" content before they interact with it. Check out the resources on the Microsoft Developer Network (MSDN), where you can get more information. Some sites will not be affected by the change. The updated browser prompts users to click before displaying active content coded using <object> , <embed> , or <applet> tags that are inline in an HTML file. However, HTML pages that use tags generated by external script files (like JavaScript), such as sites that use complex Flash detection scripts, should continue to work normally with no change. Many of you will want to fix your sites to work around the mandatory browser changes. The good news is that you can apply one of several design-arounds to your site right now. ************************************************** ** ************************************************** ** ************************************************** ** I've lots of flash files in my forum style and i also have flash & media player bbcodes enabled. It's really boring to click on the active contents everytime to activate them (for Internet Explorer users). I'll try to tell you the easiest solution to bypass active content activating. -Create a new TXT file on your desktop. -Rename it to 'iefix.js'. -Open 'iefix.js' with your text editor. (NotePad) -Paste the following code in it: HTML Code:
fls = document.getElementsByTagName("object"); for (var a = 0; a < fls.length; a++){fls[a].outerHTML = fls[a].outerHTML;} -Upload 'iefix.js' to your web servers root. Now we have the needed external javascript file. If you just have .swf files embedded on your pages, you are cool. Because this way of bypassing active content activation got some issues with media players. The media files won't play automatically and the media players will miss their "src, width, height, etc..." attributes. Let's say you just want it for your swf enabled pages. -Open your Admin CP > Styles & Templates Manager > Style Manager > footer template. Paste the following code at the beginning of your footer template: HTML Code:
<script type="text/javascript" src="http://www.yourdomain.com/iefix.js"></script> The logic of this method depends on adding the code above right after the last </object> tag in the page to disable the active content's activation requirement. Of course you can also use this method for your non-vbulletin pages. Example: Open your IE and go to this address: http://www.msxlabs.org/forum/ Mouse over the flash animations at the top. Let me know if you want to know how to exclude media players in vBulletin posts from this IE ActiveX Fix method. For more information: http://www.adobe.com/devnet/activeco...devletter.html http://msdn.microsoft.com/library/de...ng_activex.asp IE ActiveX Fix Guide by NeutralizeR from MsXLabs Organization. |
#2
|
||||
|
||||
This works great. All of my arcade games were being delayed with the extra click and now they are working fine. Glad I read your signature in another thread
|
#3
|
||||
|
||||
how can you make it so that flash sig dont show that??
|
#4
|
||||
|
||||
cool worked well.
any way of making it only work in the arcade? |
#5
|
|||
|
|||
Very nice!
|
#6
|
|||
|
|||
Thats a lovely little script, MANY thanks for sharing it, it works a charm on my webby.
D |
#7
|
||||
|
||||
Brilliant fix, very useful!
|
#8
|
||||
|
||||
cool..thanks NeutralizeR
|
#9
|
|||
|
|||
I tried it for my site, and it didn't work. I have embedded SWF files, but they don't use Objects...is that why?
|
#10
|
||||
|
||||
Quote:
if you use Object Tag or Embed Tag or Both Just replace the code with this Code:
fls = document.getElementsByTagName("object"); for (var a = 0; a < fls.length; a++){fls[a].outerHTML = fls[a].outerHTML;} flsa = document.getElementsByTagName("embed"); for (var a = 0; a < flsa.length; a++){flsa[a].outerHTML = flsa[a].outerHTML;} and its works excellent :up: |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|