From me at the-compiler.org Fri May 1 16:46:37 2020 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 1 May 2020 16:46:37 +0200 Subject: [qutebrowser] Does fake-key work in Insert Mode? In-Reply-To: References: <20200430095014.n6xqlltdtbk6ge2g@hooch.localdomain> Message-ID: <20200501144637.txxydsk6o73iqbyl@hooch.localdomain> On Fri, May 01, 2020 at 10:20:59AM +0000, Alison Souza wrote: > I used the command ?bind fake-key -g ??. > > When I press ?Alt :?, the question mark is not sent in Insert Mode. It?s > not sent in the statusbar either, actually. Your bind command binds that key combination in normal mode. You will need to use ":bind --mode=insert" to bind a key in insert mode (and perhaps use "Alt-Shift-:" if your keyboard layout needs shift to type :). > I have an AHK script that sends that key when I press the same hotkey, and > it seems to have made that key be sent in the statusbar, which made the > Qute hotkey appear to be working, when it in fact is not. I have now > disabled the script temporarily. > > Well, the problem hasn?t changed much. Now when I use the hotkey, ?;? is > sent in the statusbar, but not in Insert Mode. I don't understand what you mean exactly :) Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From contact at erazem.eu Fri May 1 16:54:27 2020 From: contact at erazem.eu (Erazem Kokot) Date: Fri, 01 May 2020 16:54:27 +0200 Subject: [qutebrowser] Automatically enabling passthrough mode on certain websites Message-ID: Hi, Is it possible to either enable passthrough mode on certain websites or to disable certain key combinations/commands on those websites? Alternative solutions/recommendations would also work, but the general scenario is this: I want to have Discord (discordapp.com) pinned in qutebrowser and be able to use it like I would on something like Firefox, where I could just start typing without having to remember to press Ctrl+V to enter passthrough mode. Regards, Erazem Kokot From tgy at inria.fr Fri May 1 17:27:27 2020 From: tgy at inria.fr (Valentin Iovene) Date: Fri, 1 May 2020 17:27:27 +0200 Subject: [qutebrowser] Automatically enabling passthrough mode on certain websites In-Reply-To: References: Message-ID: <20200501152727.ihfs7n5kbc3a4c2o@valoup> +1 for this. it could be very useful also for things like Jupyter notebooks. right now, when i have to deal with Jupyter notebooks i have to switch to another browser. :-) -- Valentin From me at the-compiler.org Thu May 7 17:54:11 2020 From: me at the-compiler.org (Florian Bruhin) Date: Thu, 7 May 2020 17:54:11 +0200 Subject: [qutebrowser] qutebrowser v1.11.1 released (with minor security fix) Message-ID: <20200507155411.kvxxpp7mlxci7i5c@hooch.localdomain> Hey, I just released qutebrowser v1.11.1, with the only change being a low-severity security fix: After a certificate error was overridden by the user, qutebrowser displays the URL as yellow (colors.statusbar.url.warn.fg). However, when the affected website was subsequently loaded again, the URL was mistakenly displayed as green (colors.statusbar.url.success_https). While the user already has seen a certificate error prompt at this point (or set content.ssl_strict to false which is not recommended), this could still provide a false sense of security. This is now fixed. After discovering this issue, I found about two other projects using QtWebEngine with similar issues (always showing a secure connection on certificate exceptions, even on the first load). I've reported this to the respective projects as well, and contacted Qt about adding a proper API to avoid issues like this. More details can be found in the associated security advisory: https://github.com/qutebrowser/qutebrowser/security/advisories/GHSA-4rcq-jv2f-898j This issue has been assigned CVE-2020-11054. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From linwei6 at ruijie.com.cn Fri May 8 07:51:33 2020 From: linwei6 at ruijie.com.cn (linwei6 at ruijie.com.cn) Date: Fri, 8 May 2020 05:51:33 +0000 Subject: [qutebrowser] How to navigate in open tabs Message-ID: Hi, yall: In the senario while multiple tabs opened, how to quickly jump to the tab by using a "key word" or something? Is there a methord like that? From me at the-compiler.org Fri May 8 09:19:52 2020 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 8 May 2020 09:19:52 +0200 Subject: [qutebrowser] How to navigate in open tabs In-Reply-To: References: Message-ID: <20200508071952.jrlefdiapswtsbx2@hooch.localdomain> Hey, On Fri, May 08, 2020 at 05:51:33AM +0000, linwei6 at ruijie.com.cn wrote: > In the senario while multiple tabs opened, how to quickly jump to the > tab by using a "key word" or something? Is there a methord like that? Yep, the :buffer command ('gt'). Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From tgy at inria.fr Tue May 12 11:52:55 2020 From: tgy at inria.fr (Valentin Iovene) Date: Tue, 12 May 2020 11:52:55 +0200 Subject: [qutebrowser] Reload config from external script Message-ID: <20200512095255.fl6eruwavxpycd4m@valoup> Hi all, Is there a way to externally (from a script) trigger a reload of the configuration file by the currently running qutebrowser program? My use case is that I want to switch the colorscheme based on the time of the day. I have a script that continuously check if the dark / light theme should be used. I would like this script to trigger a reload of my config.py without having to manually type :source-config in qutebrowser. Is there a way to do that? Thanks, -- Valentin From philip.luca.scherer at gmail.com Tue May 12 11:58:33 2020 From: philip.luca.scherer at gmail.com (Philip Scherer) Date: Tue, 12 May 2020 11:58:33 +0200 Subject: [qutebrowser] Reload config from external script In-Reply-To: <20200512095255.fl6eruwavxpycd4m@valoup> References: <20200512095255.fl6eruwavxpycd4m@valoup> Message-ID: <620f566c-164a-89d4-f6cb-57698596916e@gmail.com> Hi Valentin, > Is there a way to externally (from a script) trigger a reload of the > configuration file by the currently running qutebrowser program? That should be possible just by running "qutebrowser :config-source" in a shell, since (at least on my machine) qutebrowser automatically "opens" in the existing instance and runs the command there. Greetings, Philip From pauloalibano at hotmail.com Mon May 18 23:37:19 2020 From: pauloalibano at hotmail.com (=?iso-8859-1?Q?Paulo_Silva_de_Al=EDbano?=) Date: Mon, 18 May 2020 21:37:19 +0000 Subject: [qutebrowser] Adblock not working properly with local files Message-ID: Hi, I have the following two files with domains I'd like to block. They are from the Disconnect open source list which Firefox uses to block trackers of all sorts. $ head -n 4 /home/abc/Downloads/blockentities.txt 127.0.0.1 2leep.com 127.0.0.1 2leep.com 127.0.0.1 33across.com 127.0.0.1 tynt.com $ head -n 4 /home/abc/Downloads/blockservices.txt 127.0.0.1 2leep.com 127.0.0.1 33across.com 127.0.0.1 365media.com 127.0.0.1 4info.com Then I have this list in content.host_blocking.lists: ["file:///home/abc/Downloads/blockentities.txt", "file:///home/abc/Downloads/blockservices.txt"]. I have also run :adblock-update successfully. However, they don't quite seem to work in blocking unwanted domains. For example, if I go to stackoverflow.com/questions, default avatar pictures (of new users) are still loaded, even though they are hosted in https://www.gravatar.com, which I have blocked in both files: $ grep gravatar /home/abc/Downloads/* blockentities.txt:127.0.0.1 gravatar.com blockservices.txt:127.0.0.1 gravatar.com In Firefox, those pictures are indeed blocked and don't show up, but in Qutebrowser they do show up, so I conclude the ad-blocking is not working. However, if I add "127.0.0.1 stackoverflow.com" to any of them, then, as expect, I cannot access Stackoverflow anymore. So there should be something non-obvious there... Am I missing some important step there or should I go to Issues on the Github? Thanks for the great browser. -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Tue May 19 14:01:05 2020 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 19 May 2020 14:01:05 +0200 Subject: [qutebrowser] Adblock not working properly with local files In-Reply-To: References: Message-ID: <20200519120105.gu5wc2bc7bvvq524@hooch.localdomain> Hey, First of all: You're not subscribed to the mailing list, so your reply was held back - I added you to the whitelist now, but if people reply to the mailinglist without adding you to Cc, you might not receive those messages. On Mon, May 18, 2020 at 09:37:19PM +0000, Paulo Silva de Al?bano wrote: > However, they don't quite seem to work in blocking unwanted domains. For > example, if I go to [1]stackoverflow.com/questions, default avatar > pictures (of new users) are still loaded, even though they are hosted in > https://www.gravatar.com, which I have blocked in both files: > > $ grep gravatar /home/abc/Downloads/* > blockentities.txt:127.0.0.1 gravatar.com > blockservices.txt:127.0.0.1 gravatar.com The pictures are served from www.gravatar.com, but you're only blocking gravatar.com. Those are two different hosts. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From pauloalibano at hotmail.com Tue May 19 18:18:12 2020 From: pauloalibano at hotmail.com (=?iso-8859-1?Q?Paulo_Silva_de_Al=EDbano?=) Date: Tue, 19 May 2020 16:18:12 +0000 Subject: [qutebrowser] Adblock not working properly with local files Message-ID: Many thanks for guiding me there, Florian, I've never been in a mailing list before. I apologize in advance if I make any more blunder. About your reply: Florian wrote: >The pictures are served from www.gravatar.com, but you're only blocking >gravatar.com. Those are two different hosts. Indeed, after prepending "www." to the address, it worked. However, I'm afraid that means that lists from Disconnect (to be found in ) cannot be reliably used, because they usually do not include subdomains. A more sensitive example is , that does not get blocked, although figures in the list. Is there any way to make Qutebrowser parse the list and block a match even if "lower" subdomains differ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Tue May 19 18:32:31 2020 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 19 May 2020 18:32:31 +0200 Subject: [qutebrowser] Adblock not working properly with local files In-Reply-To: References: Message-ID: <20200519163231.vapudlnc6lvdbjs6@hooch.localdomain> Hey, On Tue, May 19, 2020 at 04:18:12PM +0000, Paulo Silva de Al?bano wrote: > I've never been in a mailing list before. I apologize in advance if I make > any more blunder. No problem, no harm done! Wouldn't call it a blunder, just something you need to be aware of when using mailinglists :) > A more sensitive example is , that does not get > blocked, although figures in the list. Is there I assume you mean this? https://github.com/disconnectme/disconnect-tracking-protection/blob/05fa7f5fa78c88c74d9e62c8cabffc7b6b133cb7/entities.json#L5681 Note that's not a line saying "googleusercontent.com should be blocked", it's just a line saying "googleusercontent.com belongs to Google", just like e.g. google.com, youtube.com, and many other domains being listed there. In other words, you're trying to treat something which isn't a block list like a block list. This will probably not do what you want, unless your goal is to block anything coming from Google, but then that will also include many legitimate hosts and break a lot of stuff. > Is there any way to make Qutebrowser parse the list and block a match even if > "lower" subdomains differ? Not at the moment - however, there's an issue about making user-supplied blocked-hosts files accept URL patterns: https://github.com/qutebrowser/qutebrowser/issues/4188 And there's also some work going on for a more sophisticated adblocker: https://github.com/qutebrowser/qutebrowser/pull/5317 Both would allow you to do so, as far as I know. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From me at the-compiler.org Fri May 22 17:01:08 2020 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 22 May 2020 17:01:08 +0200 Subject: [qutebrowser] Automatically enabling passthrough mode on certain websites In-Reply-To: References: Message-ID: <20200522150108.3hplr4zbo7g53kmf@hooch.localdomain> Hey, On Fri, May 01, 2020 at 04:54:27PM +0200, Erazem Kokot wrote: > Is it possible to either enable passthrough mode on certain websites or > to disable certain key combinations/commands on those websites? > > Alternative solutions/recommendations would also work, but the general > scenario is this: I want to have Discord (discordapp.com) pinned in > qutebrowser and be able to use it like I would on something like > Firefox, where I could just start typing without having to remember to > press Ctrl+V to enter passthrough mode. Sorry for the late answer, this got lost in my inbox for a bit :) There's a note about switching mode per-domain here: https://github.com/qutebrowser/qutebrowser/issues/3636 autocmds might also help (though I'm somewhat sceptical they're the right solution for this): https://github.com/qutebrowser/qutebrowser/issues/35 And finally, there's a PR here for per-domain bindings: https://github.com/qutebrowser/qutebrowser/pull/4664 Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: