怎么可以配置或修改SWFAddress,使其使用#!代替 #使其、SWFAddress

2023-09-10 18:20:16 作者:轉身╮淚傾城

SWFAddress它在闪存提供深层链接的非常酷的方式。但是,除非你用#!在网址(和其他的一些东西),谷歌不会索引你的内部页面。

SWFAddress it's very cool way of providing deep linking in flash. But unless you use #! in urls (and a other things too), google wont index your internal pages.

如何将配置(或修改)SWFAddress使用#的最佳方式!?

How would be the best way to configure (or modify) SWFAddress to use #!?

推荐答案

其实,我发现这里的计算器另一个问题的答案。我要张贴的解决方案,以供将来参考:

I actually found the answer in another question here in stackoverflow. I want to post the solution for future reference:

只需打开swfaddress.js您编辑和替换#(带引号),所有实例以#!。就是这么简单:)

Just open swfaddress.js with your editor and replace all instances of "#" (with quotes), with "#!". Is that simple :)