Comments (11)
This error started to pop up when I updated Chrome. Guess Chrome have changed something in the security policy.
from dotjs.
๐
Could this be fixed by changing "http://" to just "//" here? https://github.com/defunkt/dotjs/blob/master/ext/dotjs.js#L2
from dotjs.
Can't test it right now, but that sounds right.
from dotjs.
Ok, there seems to be a new security policy in Chrome 22. In the extension documentation it is stated that you can allow loading scripts with content_security_policy
from http://localhost
but that does not work. The fix for the error will be released in Chrome 23. And //
doesn't work since the dotjs webserver does not serve https
. I was a little to fast when I tested it.
from dotjs.
If the dotjs webserver doesn't serve https, maybe something like https://github.com/jugyo/tunnels could be used to proxy from https to it. I came across that gem in the context of having https for pow, but could apply here too.
from dotjs.
Confirmed that tunnels works. Kind of annoying though.
from dotjs.
๐ก piggyback on github's ssl by hacking the extension to point to https://raw.github.com/foo/bar/master/
instead of http://localhost:3131/
.
from dotjs.
@zeke You mean commit your .js/
and put it on GitHub? That would work, but it sounds like a pain.
Is there an easy way to spin up an nginx that tunnels? That would avoid the ugliness of RubyGems, and seems like a reasonable dependency.
from dotjs.
Got this working with just WEBrick. You'll need to uninstall dotjs then install 2.0 to get the new stuff.
from dotjs.
Thanks! ๐ป
from dotjs.
To uninstall: rake uninstall
from dotjs.
Related Issues (20)
- Use data URIs to avoid SSL HOT 2
- make httpOnly cookies accessable
- Denying load of chrome-extension://.../jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. HOT 10
- SSL: Can the dotjs certificate be used to sign other certificates? HOT 2
- dotjs no longer runs in non-https mode. HOT 1
- Doesn't work with Symlink
- Install failed on Yosemite HOT 21
- Custom libs
- Add a showcase page for people to share dot.js scripts HOT 1
- ัะฐะฝัะตะปะพ
- http://localhost:3131/ not loading
- apple.xpc.launchd[1]: (com.github.dotjs) This service is defined to be constantly running and is inherently inefficient.@defunkt Is this project still being maintained?
- Pyy2468 vrrsinnn
- Pppp2212
- Mmww tccccgcc334 mmmwww dhtpythaagooettthesusi pyy bbmggcc ei. Tรฉlรฉ mmwwwtteneuunidnd ututuit mouhomama no www ttn idhh nnn pyyfffff7 fffffg fff f fgccgc 788888 HOT 1
- Pppueoo xxxx HOT 1
- M'attendait///77880
- Iiiiuddettnntthhhdtttttueeecapacyyyypppeoaidyp3365336 bmmhtttttchduytiyhwdieodht HOT 1
- 322222
- Upppppppy HOT 3
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 dotjs.