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

Doesn't work with local file opened with file:// protocole. #27

Closed
msankhala opened this issue Apr 14, 2013 · 4 comments
Closed

Doesn't work with local file opened with file:// protocole. #27

msankhala opened this issue Apr 14, 2013 · 4 comments

Comments

@msankhala
Copy link

Visual Event 2 doesn't work with local files opened with file:/// protocole while Visual Event 1 work well with file:// protocole.

@DataTables
Copy link
Collaborator

Thanks for flagging this up - the reason for this is the recent change to use // to make the loader protocol independent (i.e. for http and https). I'll need to change the loader to allow for this.

DataTables pushed a commit that referenced this issue Apr 15, 2013
- location.protocol used to detect protocol
  - if file: used, then source files are loaded by http:
  - otherwise use '//'
@DataTables
Copy link
Collaborator

You'll need to reinstall the bookmarklet to get file: support back I'm afraid. It is where it usually is: http://sprymedia.co.uk/article/Visual+Event+2

@rakeshjuyal
Copy link

Great! In one of my project I am using // for protocol independency. Looks like I too have to change it for file protocol.

@nowherenearithaca
Copy link

btw - I think with newer security restrictions in chrome, you can get cross origin errors for some files when using VisualEvent with the file protocol

screen shot 2018-06-16 at 1 57 56 am

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

3 participants