WorldBrain / Memex

Browser extension to curate, annotate, and discuss the most valuable content and ideas on the web. As individuals, teams and communities.
https://worldbrain.io
4.43k stars 339 forks source link

Provide option to disable Memex per-site #1155

Open brianredbeard opened 3 years ago

brianredbeard commented 3 years ago

Summary

When attempting to use an IPMI Interface on a server Memex intercepts keystrokes and breaks functionality. Ideally, one could specify hosts/URLs where Memex was completely disabled rather than simply not indexing (doubly so since Memex is no longer attempting full-text indexing on all sites visited).

Detail

When attempting to use the WebRTC based forwarding of the keyboard, mouse, and video from a server Memex intercepts the keystrokes. In some situations these are completely captured and directed to the ribbon bar on the side of the page.

For example, in the following situation I have a server which is failing to boot. While navigating the filesystem I type:

c d <space> SHIFT+B (attempting to type cd BOOT<enter> to change into the directory FS0:\EFI\BOOT):

image

Instead of completing this SHIFT+B triggers the "bookmark" functionality. To be clear, all shortcuts cause similar problems.

Within my extension configuration the hostname (192.168.132.20) is flagged as a "blocked page":

image

Desired outcome

Personally I'm fine with Memex disabling the sidebar, being completely disabled per site, etc. While Google does provide documentation stating that an extension can be removed on a per-site basis the present implementation would require then managing sites as a allow-list which renders the extension of much lower utility.

image

Attempting to use the mechanism in the cited documentation fails in a myriad of different ways and is best summarized as "not a current solution to this problem."

Furthermore, I was hoping that there would be other ways of achieving this behavior, e.g.:

image

My suspicion is that this is merely another interface to the same code path.