Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluidapp v.2 or Chrome or Safari would not load any cheatsheets #27

Closed
ruslaniv opened this issue Oct 18, 2018 · 4 comments
Closed

Fluidapp v.2 or Chrome or Safari would not load any cheatsheets #27

ruslaniv opened this issue Oct 18, 2018 · 4 comments

Comments

@ruslaniv
Copy link

ruslaniv commented Oct 18, 2018

I'm not able to load any cheatsheets either in Fluidapp 2.1 or in latest Chrome or Safari. It only loads the <li> elements, but clicking on any of them does not open the corresponding cheatsheet.
I double checked the paths and toggled "Allow browsing to any URL" but still, no luck.
But strangely enough, it works if I open the file in Firefox.
screenshot 2018-10-18 at 10 53 15

@ruslaniv
Copy link
Author

Just found an old version of Fluidapp (Version 1.8.6 (2331)) and Cheaters 2.1.2 still works in the old version.

@ruslaniv ruslaniv changed the title Would not load any cheatsheets Fluid v.2 would not load any cheatsheets Oct 18, 2018
@ruslaniv ruslaniv changed the title Fluid v.2 would not load any cheatsheets Fluidapp v.2 or Chrome would not load any cheatsheets Oct 18, 2018
@ruslaniv ruslaniv changed the title Fluidapp v.2 or Chrome would not load any cheatsheets Fluidapp v.2 or Chrome or Safari would not load any cheatsheets Oct 18, 2018
@alpayne
Copy link

alpayne commented Oct 19, 2018

It's a CORS issue. You'll need to disable some browser security features or (better) use a local web server.

jquery-2.0.3.min.js:6 Access to XMLHttpRequest at 'file:///.../' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https..

@ruslaniv
Copy link
Author

@alpayne
Somehow I missed the section in readme about the local web server. Set up apache and it works just fine now. Although still wondering why it worked in older version of fluidapp without the need of a web server.

@alpayne
Copy link

alpayne commented Oct 20, 2018

Seems Fluid didn't enforce CORS previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants