bradcush / mark-tab-manager

Mark is a minimalist tab manager in the form of a browser extension that organizes tabs as you browse. With Mark, tabs are automatically grouped by domain and sorted alphabetically.
Apache License 2.0
16 stars 3 forks source link

Failed to construct URL on extension install #251

Open bradcush opened 1 year ago

bradcush commented 1 year ago

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL has been observed as happening when an extension is loaded for the first time. Personally I have tabs open like chrome://extensions and chrome://version which could be the cause. The stack trace indicates this happens on the last line of the extractHostname function where new URL(extractedUrl).hostname; is called.