Skip to content

Conversation

greggman
Copy link
Contributor

It seems kind of irresponsible to tell users to disable their security to do development. Especially when the alternatives are safe and easy, taking 30 seconds to 2 minutes to setup.

It is arguably irresponsibly to tell users to disable their securtiy
to do development. Especially when the alternatives are safe
and easy, taking 30 seconds to 2 minutes max
@donmccurdy
Copy link
Collaborator

Demo: https://raw.githack.com/mrdoob/three.js/8aee6080fb83c7af0706e3b53f669f691660558d/docs/#manual/en/introduction/How-to-run-things-locally

Note there is still a reference to changing security settings under the Content loaded from external files header.

Personally, I agree that permanently changing a setting in the browser is probably a bad thing for us to recommend. Starting the browser from the CLI in a mode that allows local file access bothers me much less, but if Chrome is the only browser that supports that I'm OK with pulling the section rather than recommending only a single browser.

@mrdoob mrdoob added this to the r99 milestone Nov 28, 2018
@mrdoob mrdoob merged commit 68aeb17 into mrdoob:dev Nov 28, 2018
@mrdoob
Copy link
Owner

mrdoob commented Nov 28, 2018

Thanks!

gogoend added a commit to gogoend/three.js that referenced this pull request Dec 16, 2018
Stop telling users how to disable security.
mrdoob#15334
@peteroupc
Copy link
Contributor

It seems to me that this page should explain why it no longer tells about any in-browser command-line options, especially since, especially for Windows users, installing Ruby or Python when they're not used for any other purpose, or setting up a local HTTP server, may be seen as extra hoops to jump through to enable local testing of three.js applications (compared to in-browser command line options). (To be clear, I have no complaints about these extra hoops, but others might.)

@mrdoob
Copy link
Owner

mrdoob commented Jan 9, 2019

Another option for Windows users is to install this:

https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb

but I think Google was going to deprecate Chrome Apps

@looeee
Copy link
Collaborator

looeee commented Jan 10, 2019

extra hoops

These are hoops that anyone who is serious about web development will have to jump through at some point, so they're not unreasonable.

For people who are just starting to experiment, using something like codesandbox.io is probably a better route.

donmccurdy added a commit that referenced this pull request May 20, 2022
Current wording offers two options and suggests we'll explain both, but then only explains the second. As discussed in #15334  we should not encourage users to change their browser's security settings.
mrdoob pushed a commit that referenced this pull request May 23, 2022
* Recommend a local server, don't present it as second option

Current wording offers two options and suggests we'll explain both, but then only explains the second. As discussed in #15334  we should not encourage users to change their browser's security settings.

* Clean up
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
* Recommend a local server, don't present it as second option

Current wording offers two options and suggests we'll explain both, but then only explains the second. As discussed in mrdoob#15334  we should not encourage users to change their browser's security settings.

* Clean up
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

Successfully merging this pull request may close these issues.

6 participants