HackPlan / quark-shell-mac

Quark Shell for Mac helps web developers to create native-like Mac menubar app using HTML and JavaScript without writing any native code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

file:// instead of http://

hovancik opened this issue · comments

a lot of JS scripts use something like: script.src = '//cdn.syndication.twimg.com/widgets/timelines/'

which becomes 'file://cdn.syndication.twimg.com/widgets/timelines/'

would there be a way to fix this, except hardcoding it to http or https?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10634688-file-instead-of-http?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github).

Good point, but there would not be an easy fix. We will have to bundle a micro web server and serve the static files.