My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Using javascript (bookmarklet) to save URL addresses from all open tabs

charmender bhati's photo
charmender bhati
·Apr 3, 2019

Hello guys!

I'm trying to create a bookmarklet that can save the URL addresses from all open tabs in Firefox and store them in the Bookmarks bar.

Thing is, I can only seem to access the URL of the current open and active tab by using window.location.href testmyspeed.onl scrabblewordfinder.vip solitaire.onl

Is there anyway to access the links from all the tabs using JS?

CHeers!