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?
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.