Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Won't accept paticular image URL #1

Closed
metal12345 opened this issue Apr 5, 2017 · 2 comments
Closed

Won't accept paticular image URL #1

metal12345 opened this issue Apr 5, 2017 · 2 comments

Comments

@metal12345
Copy link

metal12345 commented Apr 5, 2017

In Firefox
Works:
let imageUrl = "https://i.imgur.com/AxKGmnJ.jpg";
Doesn't work:
let imageUrl = "https://*****/test.jpg";

It doesn't log to console or run with the second example

@naschorr
Copy link
Owner

naschorr commented Apr 5, 2017

It looks like Firefox isn't dumping the cross origin errors into the console? Chrome's giving me an Access to Image at 'https://nakas.info/test.jpg' from origin 'http://pxls.space' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://pxls.space' is therefore not allowed access. error, which would seem to indicate that it's an issue with the remote server. I'm not sure if there's much I can do on my end.

@metal12345
Copy link
Author

metal12345 commented Apr 6, 2017

That's it. Firefox does not dump CORS errors to console, I had tried with several versions of it
Previous bots worked becaue Greasemonkey can bypass CORS with unsafewindow

If anyone found this message helpful, please vandalize /r/touhou

@naschorr naschorr closed this as completed Apr 6, 2017
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants