Browse Source

Sync with en doc:#15334

Stop telling users how to disable security.
https://github.com/mrdoob/three.js/pull/15334
gogoend 6 years ago
parent
commit
9e55b92fa1
1 changed files with 0 additions and 56 deletions
  1. 0 56
      docs/manual/zh/introduction/How-to-run-things-locally.html

+ 0 - 56
docs/manual/zh/introduction/How-to-run-things-locally.html

@@ -117,62 +117,6 @@ ruby -r webrick -e "s = WEBrick::HTTPServer.new(:Port => 8000, :DocumentRoot =>
 				</ol>
 				</ol>
 			</div>
 			</div>
 
 
-		<h2>更改本地文件的安全策略</h2>
-		<div>
-			<h3>Safari</h3>
-			<div>
-				<p>
-                    在“偏好”面板中启用开发菜单,位于“高级”-&gt“在菜单栏中显示开发菜单”
-				</p>
-
-				<p>
-                    之后从Safari中的“开发”菜单中,选择“停用本地文件限制”,同样需要注意的是,Safari对于缓存有一些奇怪的行为,
-                    因此建议,在同一菜单中打开“停用缓存”的选项;如果你正在编辑,请使用Safari进行调试。
-				</p>
-			</div>
-
-
-			<h3>Chrome</h3>
-			<div>
-				<p>请关闭Chrome浏览器正在运行的*所有*实例,注意这里非常重要的关键字是“*所有*”。</p>
-
-				<p>
-                    在Windows中,你可以在任务管理器中查看所有正在运行的Chorme浏览器的实例。
-                    此外,如果你在系统任务栏中看到了Chrome图标,请鼠标右键打开它的上下文菜单,点击关闭。这样就应当已经关闭所有正在运行的Chrome浏览器实例了。
-
-				</p>
-
-				<p>
-                    然后使用命令行执行Chrome浏览器,并在命令行中添加允许访问本地文件的参数:</p>
-
-				<code>chrome --allow-file-access-from-files</code>
-
-				<p>
-                    在Windows中,最简单的做法或许就是创建一个特别的快捷方式图标,快捷方式的目标指向上面的命令行
-                    (右键点击快捷方式图标-&gt;属性-&gt;目标)。
-				</p>
-
-				<p>在Mac OS X中,你可以用这种方法来添加允许访问本地文件的参数并运行Chrome:</p>
-
-				<code>open /Applications/Google\ Chrome.app --args --allow-file-access-from-files</code>
-			</div>
-			<h3>Firefox</h3>
-			<div>
-				<ol>
-				<li>
-					在地址栏中,键入<code>about:config</code>
-				</li>
-				<li>
-					找到这个参数<code>security.fileuri.strict_origin_policy</code>
-				</li>
-				<li>
-					将其设置为<em>false</em>
-				</li>
-				</ol>
-			</div>
-
-		</div>
-
 			<p>
 			<p>
                 其它简单的替代方案你可以在Stack Overflow上找到:[link:http://stackoverflow.com/q/12905426/24874 click here]。
                 其它简单的替代方案你可以在Stack Overflow上找到:[link:http://stackoverflow.com/q/12905426/24874 click here]。
 			</p>
 			</p>