Files
freeCodeCamp/guide/chinese/miscellaneous/disable-code-auto-run-on-free-code-camp/index.md
2018-10-16 21:32:40 +05:30

11 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Disable Code Auto Run on Free Code Camp
localeTitle: 禁用代码自动运行免费代码营
---
默认情况下Free Code Camp站点会自动加载并运行您最近录制的解决方案。如果您不小心创建了无限循环或其他不可恢复的错误或者只是不信任该代码您可以通过在URL中添加以下内容来禁用代码自动运行 `run=disabled`
## 例:
网址: `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?solution=function%20meetBonfire(argument)` `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?solution=function%20meetBonfire(argument)` solution= `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?solution=function%20meetBonfire(argument)` 20meetBonfire( `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?solution=function%20meetBonfire(argument)`
禁运网址: `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)` `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)` run=disabled& `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)` function%20meetBonfire( `http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)`