Home > Tutorials > Resolving Same-Origin Policy for running Canvas animation locally

Resolving Same-Origin Policy for running Canvas animation locally

 

 

To solve this problem:

  • Firefox:Type about:config in the address bar and press Enter,change security.fileuri.strict_origin_policy to false。
  • Chrome:Run command /path-to-chrome/chrome.exe -allow-file-access-from-files。

Resource: http://code.google.com/p/casualjs/

Advertisements
Categories: Tutorials
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: