Graphics Reference
In-Depth Information
Solving
cross-origin-domain
error
messages in Firefox
In the previous recipe, we explained that cross-origin error messages can occur when
you run Three.js applications from the filesystem. In this recipe, we showed you how
to solve these kind of issues on Chrome. In this recipe, we look at how to solve these
issues in another popular browser: Firefox.
How to do it...
1. For Firefox, we will then need to disable the security settings directly from the
browser. If you type about:config in the URL bar, you will see the following:
2. On this screen, just click on the I'll be careful, I promise! button. This will
bring you to an overview page that shows you all the internal properties avail-
able in Firefox.
3. Following this, in the search box on this screen type secur-
ity.fileuri.strict_origin_policy and change its value, as shown in
the following screenshot:
Search WWH ::




Custom Search