zz85-bookmarklets icon indicating copy to clipboard operation
zz85-bookmarklets copied to clipboard

injection fails due to incorrectly served MIME type in header on Chrome

Open chag opened this issue 10 years ago • 5 comments

Chrome prevents injecting the GitHub hosted javascript due to MIME type served as text/plain instead of application/javascript. This is by default on Chrome Canary. It does however work on currently on Chrome Stable, so should be a low priority.

chag avatar May 02 '14 00:05 chag

Looks like Chrome Stable has caught up with Canary. Here is a possible fix.

tamlyn avatar Nov 17 '14 13:11 tamlyn

thanks for the headsup... i should update my references to rawgit's cdn. just curious - you guys are mainly using the threeinspector bookmarket?

zz85 avatar Nov 18 '14 00:11 zz85

@zz85

I recently re-discovered this script. It looks like a great way to encourage people to interact and edit what they usually just look at.

Many thanks for putting this together.

How about making Three.js Inspector and DragControls.js both available via GiHub gh-pages?

In other words, just like Mr.doob does it. ;-)

just curious - you guys are mainly using the threeinspector bookmarket?

I plan to make lots of use of inspector here: vA3C Hacker

Inspector in Hacker may end up being embedded in places, but I plan to encourage users to add it as a bookmark so they can use it with most any Three.js script

theo-armour avatar Nov 23 '14 02:11 theo-armour

I've updated references to point to the rawgit's cdn for now.

I'm thinking of moving three inspector to its own repo once i get time to improve on it...

zz85 avatar Nov 23 '14 15:11 zz85

I'm thinking of moving three inspector to its own repo once i get time to improve on it...

Two good ideas...

On Sun, Nov 23, 2014 at 7:28 AM, Joshua Koo [email protected] wrote:

I've updated references to point to the rawgit's cdn for now.

I'm thinking of moving three inspector to its own repo once i get time to improve on it...

— Reply to this email directly or view it on GitHub https://github.com/zz85/zz85-bookmarklets/issues/5#issuecomment-64121502 .

theo-armour avatar Nov 24 '14 07:11 theo-armour