freeCodeCamp/guide/chinese/miscellaneous/disable-code-auto-run-on-fr.../index.md

11 lines
1.4 KiB
Markdown
Raw Normal View History

---
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)`