Comments (6)
Hi,
I can't reproduce the error with Chrome 31.0 and Chromium 35.0 on Linux, which Chrome Version are you using and which OS?
from ghosttext.
I meant to specify it but I forgot!
Version 36.0.1985.32 beta on OS X, even in an empty Chrome profile:
[blocked] The page at 'https://github.com/Cacodaimon/SublimeTextArea/issues/5' was loaded over HTTPS, but ran insecure content from 'ws://localhost:1337/': this content should also be loaded over HTTPS.
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
from ghosttext.
This behavior seems to be new in Chrome 36: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-discuss/1mK3SxfuzqU
For now --disable-web-security
should fix it, I hope they reconsider this behavior for the localhost…
from ghosttext.
Yep, that worked! I enabled Allow insecure WebSocket from https origin in chrome://flags
The problem kind of remains for everyone else though, we might try to alert the user if there is a security error.
from ghosttext.
Thx, if this behavior still remains in Chrome 36 (No Beta), it might help moving the WebSocket communication from the content.js
to the background.js
or popup.js
(as last opportunity) and let the content.js
communicate through a message channel with the background.js
…
from ghosttext.
I moved the Issue to the Chrome plugin project: Cacodaimon/GhostText-for-Chrome#1
from ghosttext.
Related Issues (20)
- Problem with two-way sync on firefox and neovim HOT 2
- CodeMirror 6 / jupyter notebook 7 issues HOT 2
- CodeMirror 6 only works on the first connection, then a reload is required
- submit form changes from text editor HOT 2
- textarea modified by javascript HOT 1
- GhostText for input fields HOT 2
- Not Working for Cinny and Element HOT 1
- Support for github.dev and vscode.dev HOT 1
- Doesn't seem to work on StackOverflow.com HOT 11
- is it secure to listen on *:4001 ? HOT 1
- Does it work in codecademy editor? (Monaco editor) HOT 3
- GhostText doesn't work with Monaco editor on CodeSignal
- VS Code Saving clears out textarea HOT 2
- GhostText cannot detect or edit TinyMCE content HOT 3
- Migrate to Manifest V3 HOT 1
- Release version for Safari HOT 1
- After recent upgrade, GhostText disconnects from editor after 30 seconds HOT 12
- The connection to the port is broken. Browser Firefox developer HOT 3
- Disconnected on save HOT 2
- Use node-native WebSocket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghosttext.