[GH-ISSUE #275] about:newtab is not recognized as a url #183

Open
opened 2026-03-02 11:47:23 +03:00 by kerem · 4 comments
Owner

Originally created by @skirmess on GitHub (Jul 5, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/275

I'm using hoarder 0.14.0. When I paste the following text in the "New Item" box it gets added as text.

http://example.com/
about:newtab
http://example.net/

but when I want to add this it asks me if I want to add them as separate bookmarks.

http://example.com/
http://example.net/

I use hoarder to save a bunch of open tabs all at once like so.

  • Click on the "Copy All Tab Urls" plugin to copy the URL of all my open tabs
  • Create a new list and paste them into the New Item field

Unfortunately, if there was an empty tab open it gets added as text and I have to first close this tab,

It would be nice if hoarder would recognize about:* as URLs because that's how they are used by browsers.

Originally created by @skirmess on GitHub (Jul 5, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/275 I'm using hoarder 0.14.0. When I paste the following text in the "New Item" box it gets added as text. ``` http://example.com/ about:newtab http://example.net/ ``` but when I want to add this it asks me if I want to add them as separate bookmarks. ``` http://example.com/ http://example.net/ ``` I use hoarder to save a bunch of open tabs all at once like so. - Click on the "Copy All Tab Urls" plugin to copy the URL of all my open tabs - Create a new list and paste them into the New Item field Unfortunately, if there was an empty tab open it gets added as text and I have to first close this tab, It would be nice if hoarder would recognize about:* as URLs because that's how they are used by browsers.
Author
Owner

@kamtschatka commented on GitHub (Jul 5, 2024):

You mean ignored? Because that can't be added to the crawler

<!-- gh-comment-id:2210385060 --> @kamtschatka commented on GitHub (Jul 5, 2024): You mean ignored? Because that can't be added to the crawler
Author
Owner

@skirmess commented on GitHub (Jul 5, 2024):

Ignored is fine - it's not a link I'm interested in. :-)

Same problem exists with chrome://newtab/.

Edit: and edge://newtab/

<!-- gh-comment-id:2210391898 --> @skirmess commented on GitHub (Jul 5, 2024): Ignored is fine - it's not a link I'm interested in. :-) Same problem exists with `chrome://newtab/`. Edit: and `edge://newtab/`
Author
Owner

@kamtschatka commented on GitHub (Jul 6, 2024):

I have opened a PR.
Basically all the lines still need to be proper URLs to allow multi URL import, but then all non http/https URLs will be skipped.
So if you type

http://www.google.at?q=asdf
about:config
chrome://newtab/
http://www.google.at?q=asdf1

only the 2 google URLs are imported.

if you type

randomstring
http://www.google.at?q=asdf
about:config
chrome://newtab/
http://www.google.at?q=asdf1

it will be imported as text still.

<!-- gh-comment-id:2211816397 --> @kamtschatka commented on GitHub (Jul 6, 2024): I have opened a PR. Basically all the lines still need to be proper URLs to allow multi URL import, but then all non http/https URLs will be skipped. So if you type ``` http://www.google.at?q=asdf about:config chrome://newtab/ http://www.google.at?q=asdf1 ``` only the 2 google URLs are imported. if you type ``` randomstring http://www.google.at?q=asdf about:config chrome://newtab/ http://www.google.at?q=asdf1 ``` it will be imported as text still.
Author
Owner

@ALILEX-1 commented on GitHub (Dec 5, 2024):

I have opened a PR. Basically all the lines still need to be proper URLs to allow multi URL import, but then all non http/https URLs will be skipped. So if you type

http://www.google.at?q=asdf
about:config
chrome://newtab/
http://www.google.at?q=asdf1

only the 2 google URLs are imported.

if you type

randomstring
http://www.google.at?q=asdf
about:config
chrome://newtab/
http://www.google.at?q=asdf1

it will be imported as text still.

maybe add a button to ignore all non URL links is a good choose

<!-- gh-comment-id:2520546754 --> @ALILEX-1 commented on GitHub (Dec 5, 2024): > I have opened a PR. Basically all the lines still need to be proper URLs to allow multi URL import, but then all non http/https URLs will be skipped. So if you type > > ``` > http://www.google.at?q=asdf > about:config > chrome://newtab/ > http://www.google.at?q=asdf1 > ``` > > only the 2 google URLs are imported. > > if you type > > ``` > randomstring > http://www.google.at?q=asdf > about:config > chrome://newtab/ > http://www.google.at?q=asdf1 > ``` > > it will be imported as text still. maybe add a button to ignore all non URL links is a good choose
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#183
No description provided.