- Browser (Firefox, Safari, Chrome, Edge)
- OneTab browser extension (help)
- Text editor (e.g., Visual Studio Code)
- Command-line terminal
-
Open browser with OneTab extension installed.
-
Open OneTab manager (via context menu: right-click on a page, click OneTab > Display OneTab).
-
In the top-right corner, tap on Export / Import URLs.
-
Under Export URLs, select the expanded textarea field, and copy the lines you want.
https://example.com/?test | Example Domain
-
Create a new file in your text editor.
-
Search and replace all with this pattern:
Find
([^\s\|]+)( .*)?$
Replace
xdg-open "$1";
-
Select and copy the output:
xdg-open "https://example.com?test";
-
To open the browser tabs, open a command-line terminal and paste these commands in the prompt.