How can I copy a list of the open tab titles in Firefox? -
i've been trying copy list of open tab titles in firefox, can't seem find solution.
the closest i've came using: https://addons.mozilla.org/en-us/firefox/addon/send-tab-urls/
... add-on copies bunch of other junk it.
i literally cannot find solution anywhere simple task.
does have tips on how accomplish this?
you can use multiple tab handler addon. right click, copy uri of tabs. need tweak addon's options output result in format want.
or alternatively, open firefox's scratchpad developer tool (shift-f4) , use following code in browser
environment.
// -sp-context: browser var tabs=array.from(gbrowser.visibletabs); var urls=tabs.map(t=>gbrowser.getbrowserfortab(t).currenturi.spec); var titles=tabs.map(t=>gbrowser.getbrowserfortab(t).contenttitle); urls.join("\n"); titles.join("\n");
the variable titles
contain array of titles of visible tabs (i.e. tabs in current tab group). use display view contents of variable.
Comments
Post a Comment