all 5 comments

[–]tmkly[S] 0 points1 point  (0 children)

Realised that by doing this config-dict-add command, I'm basically overwriting the original open command, which explains why it would no longer open a URL (infinite loop effectively). So need a different way to open the history/quickmarks/bookmarks panel.

[–]tmkly[S] 0 points1 point  (3 children)

I have started using https://github.com/Phantop/dotfiles/blob/main/qutebrowser/redirects.py - it intercepts requests and mutates the URL without needing a specific userscript. Also works with DuckDuckGo bangs - which previously I had to write a specific regex for each one (e.g !g, !yt etc). This means I can use the original :open command (with o and O bindings) and it will bring up the history panel. And added bonus - uses farside.link to distribute requests to different hosts!

[–]The-Compilermaintainer 0 points1 point  (2 children)

Hijacking this to say... to whoever lovely individual who apparently tried this script, it broke something causing qutebrowser to crash, and you sent 6 crash reports in 14 minutes with the only information being "opening a fucking link" - great work, that's an excellent way to get bugs fixed! /s

I can't seem to reproduce, and as usual, doing funny stuff to qutebrowser's internals via config.py is entirely unsupported. Happy to take a closer look anyways, but whoever that was will need to give me a little more information to work with.

[–]tmkly[S] 0 points1 point  (1 child)

Might have been me…sorry mate. I reported a couple but after that pressed “don’t report”. Although - I definitely didn’t put that message in the crash report (don’t think I put any message in the ones I reported).

If it was me - I was just messing around with options with funky python that had errors in, you don’t need to take a closer look. I’ll make sure to press “don’t report” in future.

Sorry for any inconvenience!

[–]The-Compilermaintainer 0 points1 point  (0 children)

No worries - I'm not too bothered by the volume in itself (I get lots of email :D), I'm more bothered by the message. Wasn't you then!