`
even713
  • 浏览: 17600 次
  • 性别: Icon_minigender_2
  • 来自: 上海
最近访客 更多访客>>
社区版块
存档分类
最新评论

IE bug--appending hash to title when a page include any flash

阅读更多

What steps will reproduce the problem?
1. Including any flash in a page, dynamically or not
2. Redirecting to the page with a hash in its url http://url#hash
3. In IE7 the tabs and windows title are changed appending the #hash to the
window's/tab title

What is the expected output? What do you see instead?
In all other browsers the title remains unmodified, only in IE the #hash is
appended into the title.

What version of the product are you using? On what operating system?
All swfobject versions i tried will reproduce it

Please provide any additional information below.
This is a Flash reported bug and also in IE, after googling a bit I thought
that there was a way to make a workaround for this. I just added this timer
in the createSWF function, just for IE
// Try to clean windows title in IE
    // http://bugs.adobe.com/jira/browse/FP-240
    try{
     var wT = doc.title // get the title before being bug
     // clean the title if needed
     if(wT.indexOf('#')!=-1) wT=wT.substring(0,wT.indexOf('#'));
     var iv = setInterval(function () {
       // Whenever its loaded just push in the old title again
       if (r.readyState == 4) {
        clearInterval(iv)
        doc.title = wT;
       }
      }, 100)
    }
    catch(e){ }


Hope helps someone

分享到:
评论

相关推荐

    BURNINTEST--硬件检测工具

    - Corrected a bug where BurnInTest would fail to start if Activity trace level 2 logging (debug level logging) was turned on and the Logging Summarize option was also selected. - Minor change to ...

    squashfs2.2-r2.tar.gz

    is because to do so leads to a 10 - 20% drop in sequential I/O performance, as a disk head seek is needed to seek to the initial file data and another disk seek is need to seek to the fragment block. ...

    squashfs1.3r3.tar.gz

    being written to a block device, or is to be stored in a bootimage, the extra pad bytes are not needed. 2.1 appending to squashfs filesystems ------------------------------------- Beginning with ...

    Introduction to EECS I (MIT)

    ### Introduction to EECS I (MIT): A Comprehensive Overview #### Course Overview and Goals for 6.01 The MIT EECS I course serves as an introductory foundation in Electrical Engineering and Computer ...

    Manning jQuery in Action.pdf

    - **The Document Ready Handler**: The `$(document).ready()` function ensures that the DOM is fully loaded before running any JavaScript code, preventing errors related to elements not being ready. ...

    g++ for windows

    You are just appending more to the end separated by a semicolon. Restart your computer. A Cygnus Solutions entry will appear in your Programs menu, and an icon may appear on your desktop. Don't use...

    fsw110-appending

    考虑到提供的压缩包文件名“fsw110-appending-main”,这很可能是一个教学项目或示例代码,其中包含实现上述概念的实际代码。通过分析这个项目的源代码,你可以更深入地了解如何在实际场景中应用JavaScript进行数组...

    miniz-master.zip

    Miniz also contains simple to use functions for writing .PNG format image files and reading/writing/appending .ZIP format archives. Miniz's compression speed has been tuned to be comparable to zlib's...

    TCL TK 语言8.5编程指导

    Converting a string to title 62 Converting a string to uppercase 63 Trimming a string 64 Trimming leading whitespace 64 Trimming trailing whitespace 65 Locating the word end 65 Locating the word start...

    Appending2.0 Plugin for WLW

    《WLW(Appending2.0)插件:提升博客写作效率的利器》 Windows Live Writer(WLW)是一款由微软推出的离线博客编辑工具,它允许用户在本地编写博客文章,然后发布到各种博客平台。然而,对于经常需要插入HTML代码或...

    alien_8.79.tar.gz

    deb to rpm工具 用法 [root@yun alien]# ls Alien alien.lsm alien.lsm.in alien.pl alien.spec ...Appending installation info to /usr/lib/perl5/5.10.0/i386-linux-thread-multi/perllocal.pod [root@yun alien]#

    shell cheat sheet

    - **Append to a File**: Use `>>` to append data to an existing file. For example, `echo "Hello" >> myfile.txt` appends the string "Hello" to the end of `myfile.txt`. - **Redirect Standard Error to a ...

    Shell Script

    2. **Appending to a File (`>>`)**: - Similar to `>`, but appends the output to the end of the file rather than overwriting it. - Example: `$ echo "Hello" >> file.txt` appends "Hello" to `file.txt`. ...

    UiPath高级开发者认证-操作题

    7. Populate the Process.xaml file with the following actions: Web scraping, Filtering and Appending to Excel. Important Note: Don't use external file references, outside of the project folder ...

    Appending2.0 插件源工程

    "Appending2.0 插件源工程"是一个关于软件开发的项目,主要关注的是一个名为"Appending2.0"的特定插件。插件是一种可扩展应用程序功能的软件组件,通常用于增强或定制原有程序的功能。在这个项目中,"Appending2.0...

    caltech-lane-detection

    --save-lanes Export all detected lanes to a text file by appending --output-suffix + '.txt' to --list-file (default=off) --debug Show debugging information and images (default=off) =====...

    go系统编程(英文版)

    it shows Go implementations of a linked list, a binary tree and a hash table. After that, it discusses Go packages and teaches you how to create and use your own Go packages. The last part of the ...

Global site tag (gtag.js) - Google Analytics