论坛
Firefox 桌面版
Firefox for Android
附加组件
RSS
搜索
登录
注册
iis的个人空间
访问量
0
新鲜事
帖子
资料
https://www.firefox.net.cn/index.php?m=space&uid=27205
js脚本求助
用gContextMenu.linkURL可以获得当前链接的地址,地址是以http://开头的,如何能获取当前链接不含“http://"的。比如地址是http://www.abc.com,获取到的字符串是www.abc.com感谢cye3s,搞定
回复
(
3
)
2009-01-08 22:23
来自版块 -
Firefox 扩展、插件、脚本和样式
◆
◆
表情
告诉我的粉丝
提 交
iis
:
能不能给个实例呢?
(2009-01-08 22:23)
回复
richardjay
:
用代码手工去掉http://
(2009-01-08 22:23)
回复
Cye3s
:
gContextMenu.linkURL.replace(“http://”,“”)
(2009-01-08 22:23)
回复
iis
加关注
写私信
0
关注
0
粉丝
56
帖子
返回顶部