我起訴道場一定的發展,並在某些時候,它只是決定補充說:dojo使用loadFirebugConsole添加iframe - 如何禁用?
<iframe src="javascript:'<html><head><script>if("loadFirebugConsole" in window){window.loadFirebugConsole();}</script></head><body></body></html>'" style="position: absolute; width: 5em; height: 10em; top: -10000px; display: none;"></iframe>
現在我知道這是爲了道場試圖加載螢火蟲精簡版相關,並且在dojoConfig應isDebug控制它。
但它只是不工作
I did read that one , but it has no answer and the comments doesnt help
我也嘗試着,useCustomLogger,debugContainerId和所有isDebug的選項,以避免它。 它仍然剛剛出現。
任何想法?
順便說一句,剛纔注意到你沒有提到iframe正在提出什麼樣的問題?它是否會創建JS錯誤,這是一個整體問題? – ben
如果我在瀏覽器中看它,它根本不會顯示任何問題。問題是我在文檔管理系統中的iframe中使用它,並且在那裏我需要允許任何外部源作爲可信來源(它是m文件),因爲iframe src =「javascript:... 。「沒有明顯的方法來允許它在DMS配置文件裏 –