Created
April 17, 2021 19:54
-
-
Save AndyDaSilva52/1194632d78f2acea174074bbe4378428 to your computer and use it in GitHub Desktop.
Chrome SyncedTabs - Export `chrome://history/syncedTabs`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let openTabList = Array.from( document.querySelector("body > history-app").shadowRoot.querySelector('#main-container > #content > #synced-devices').shadowRoot.querySelector('#synced-device-list > history-synced-device-card:nth-child(1)').shadowRoot.querySelector('#history-item-container > #collapse > div#tab-item-list').querySelectorAll('div.item-container') ) | |
.map(e => ` ${e.querySelector('a').getAttribute("href")}`); | |
copy(openTabList.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment