How to export opened tabs in Chrome?
Are there any extensions for Chrome that allow me to export all currently opened tabs as a text file, containing all the URLs of those tabs?
I don't necessarily need it to be a text file if there is another way that you can think of. My goal is to share the URLs with someone via email.
I'm currently using Session Manager to save my open tabs but it has no functionality to export them as described above.
Tab Snap allows you to copy all open tab links to the clipboard. Once copied, you can save it to a text file.
In macOS you can use AppleScript.
List the URL of each tab in the frontmost window:
osascript -e{'set text item delimiters to linefeed','tell app"google chrome"to url of tabs of window 1 as text'}
List the URL of each tab in all windows:
osascript -e{'set text item delimiters to linefeed','tell app"google chrome"to url of tabs of windows as text'}
List the URL and title of each tab in the frontmost window:
osascript -e{'set o to""','tell app"google chrome"','repeat with t in tabs of window 1','set o to o&url of t&" "&title of t&linefeed',end,end}|sed \$d
List the URL and title of each tab in all windows:
osascript -e{'set o to""','tell app"google chrome"','repeat with t in tabs of windows','set o to o&url of t&" "&title of t&linefeed',end,end}|sed \$d