Arxari / shelltab

A shell-like new tab page
https://arxari.github.io/shelltab/
GNU General Public License v3.0
2 stars 0 forks source link

Add auto-browse to a url #10

Open Gotchfutchian opened 3 weeks ago

Gotchfutchian commented 3 weeks ago

Bookmarks are nice, but when this is a newtab, it would be nice to have a way to just go to a url, for those once-off sites (esp since i have it set to focus to the browser window instead of the url bar by default). This could be done with like a goto command (e. goto github.com, possibly have a url parser so you can just paste https://yourmoth.er/s?=reallylongandinconvineintstringoflettersthattrackyouprobably and it directs there instead of auto searching/turn off autosearch to goto a url directly)

I would love to open a PR to do it myself but I do not want to learn javascript.

Arxari commented 3 weeks ago

good idea

Arxari commented 3 weeks ago

Added the command itself, wondering how to manage the setting for it, thinking of having like autoGoto which will detect if the link has https:// in it and if it does it'll go directly to it, this would override autoSearch but it would still allow you to have it enabled

I feel like that's the best way to go about it

Arxari commented 3 weeks ago

Btw, wanted to mention, if you use DDG, Brave Search or Searchngx you can use bangs, they allow you to for example go !google to search on google, or !flathub to search on flathub, you can also do just !google to go to the www.google.com site

Gotchfutchian commented 3 weeks ago

Added the command itself, wondering how to manage the setting for it, thinking of having like autoGoto which will detect if the link has https:// in it and if it does it'll go directly to it, this would override autoSearch but it would still allow you to have it enabled

I feel like that's the best way to go about it

Thats also how i feel, and I dont search too often anyway so losing half a second typing search isnt that big of a deal for me.

Btw, wanted to mention, if you use DDG, Brave Search or Searchngx you can use bangs, they allow you to for example go !google to search on google, or !flathub to search on flathub, you can also do just !google to go to the www.google.com site

I use presearch, works well enough for what i need (and i think also supports bangs, never tried to tho)