stsquad / emacs_chrome

A Chromium/Firefox "clone" of It's All Text for spawning an editor to edit text areas in browsers. Based on David Hilley's original Chromium extension.

Home Page:https://chrome.google.com/extensions/detail/ljobjlafonikaiipfkggjbhkghgicgoh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work on Brave: net::ERR_BLOCKED_BY_CLIENT

aspiers opened this issue · comments

This extension has inexplicably stopped working on Brave (or maybe never worked). My server is very definitely running on port 9292 (I can even telnet localhost 9292 with no problems) but the browser refuses to connect to it.

If I open the Test page (fancy-settings/source/index.html) and the background page (html/background.html), and click the Test button, I see a GET http://127.0.0.1:9292/status net::ERR_BLOCKED_BY_CLIENT error on the background page's console:

image

from this source:

image

This was on Brave version 1.21.73 Chromium: 89.0.4389.72 (Official Build) (64-bit). I have also just tested on Google Chrome version 89.0.4389.72 (Official Build) (64-bit) and it works perfectly. The same goes for Atomic Chrome which also uses websockets on localhost. So this appears to be an issue with Brave :-(

We currently don't use websockets - just a plain HTTP over TCP connection. Either way it seems the problem is with Brave and not Edit with Emacs.

Thanks for the clarification.

same net::ERR_BLOCKED_BY_CLIENT accessing a resource from localhost

commented

just worked for me when i disabled the adblock in brave.. try it!

If you turn off Brave's security features ("shields down"), it works just fine. And the constant reference to different "localhost" configuration settings that don't exist doesn't help matters.