Hacker News new | past | comments | ask | show | jobs | submit login

Loaded this up on chrome and wasn't able to make anything appear on screen. Tried changing the # via the - and + at the top and got an undef.

Log - No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.mandalagaba.com' is therefore not allowed access. The response had HTTP status code 503.




Hmmm, do you have any kind of super duper security plugin maybe? This message makes it sounds like the level of security applied to your Chrome is super anal :). And I don't find much of anything Googling for it.


Lots' of these in console using chrome on windows. No special settings or anything.

Failed to load http://2cbjt.akrin.com:7342/socket.io/?focused=true&url=www....: Redirect from 'http://2cbjt.akrin.com:7342/socket.io/?focused=true&url=www.... to 'http://127.0.0.1:2372/blockpage?id=178' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.mandalagaba.com' is therefore not allowed access.


Totally weird but that was an unnecessary tidbit of a script so I removed it. Thanks for pointing it out.


Still not working on Chrome (67.0.3396.99)

Uncaught TypeError: Cannot read property '0' of undefined at update_mouse_position (javascript.min.js:1) at HTMLCanvasElement.on_canvas_mouse_down (javascript.min.js:1) update_mouse_position @ javascript.min.js:1 on_canvas_mouse_down @ javascript.min.js:1


I'm unable to reproduce so far sorry :\ What box are you running this on?


ChromeOS is the non-working one.

It works fine on macOS 69.0.3494.0 and 67.0.3396.99

Looking at the source, it wants to read a touch event whenever touch is supported (in update_mouse_position)-- but I'm using a mouse. Even though there's a touch screen, too :) (And using the touch screen, I can draw)

Either way, this is awesome - thank you for putting this together!


wow, ok I'll definitely look into it, I'm pretty sure I can get my hands on a ChromeOS box. Thank you so very much for taking the time to point out exactly at what's going on.


Same issue. I've got a touchscreen but use a mouse, works on touchscreen, not mouse. Cannot drag around the canvas even with touch tho.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: