admin管理员组文章数量:1335361
I want to be able to capture the current URL and/or the URL of all open tabs.
Can I do this in JavaScript or jQuery or am I going to need a plugin in FireFox/Chrome?
I want to be able to capture the current URL and/or the URL of all open tabs.
Can I do this in JavaScript or jQuery or am I going to need a plugin in FireFox/Chrome?
Share Improve this question edited Dec 13, 2014 at 19:21 Peter Mortensen 31.6k22 gold badges110 silver badges133 bronze badges asked Jul 21, 2010 at 4:59 ianian 12.4k26 gold badges71 silver badges96 bronze badges3 Answers
Reset to default 6"capture (...) URL of all open tabs."
Why don't you ask Chrome for the stored passwords while you are at it?
The answer is: No, you can't.
It would be a serious privacy issue if that was remotely possible.
Stack Overflow question Get current URL in JavaScript? is showing how to get the current URL.
But I am not sure about getting the URL for all tabs.
Like the other posters said, you can’t grab URLs of tabs besides the current one with standard JavaScript. But you can with Firefox / Google Chrome extensions.
版权声明:本文标题:Can I capture the currentall tabs URL with JavaScriptjQuery or would I need to make a plugin? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742289460a2447528.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论