admin管理员组文章数量:1023073
What I'm looking to do is not write JavaScript in the source of the website. But use an addon/extension to type JavaScript in a browser console and see the results in the browser. Kind of like JSFiddle, but for your own sites.
What I'm looking to do is not write JavaScript in the source of the website. But use an addon/extension to type JavaScript in a browser console and see the results in the browser. Kind of like JSFiddle, but for your own sites.
Share Improve this question asked Dec 12, 2014 at 22:59 6ft Dan6ft Dan 2,4551 gold badge35 silver badges46 bronze badges 2- how about the developed console? – Pointy Commented Dec 12, 2014 at 23:00
- Are you on the "Console" tab in the developer tools? If so, you type things in at the very bottom. – apsillers Commented Dec 12, 2014 at 23:02
2 Answers
Reset to default 3You can use the developer tools in Firefox (available in essentially all browsers at this point).
In Firefox, the shortcut to open them is CTRL+SHIFT+K. Then go to the Console tab, and you can type JavaScript.
I have found 3 ways to do it. https://developer.mozilla/en-US/docs/Tools/Keyboard_shortcuts is the official source.
Answer #1
@Mike gave a good answer with CTRL-SHIFT-K which brings up a console. The console permits a one line mand to be run. (It's so small it's barely noticeable.)
Answer #2 (winner)
This is part of the Firebug addon. @apsillers had originally mented CTRL-SHIFT-C from there you click Console and then a tiny side arrow on the right opens up a side entry for JavaScript with a run mand. This is exactly like JSFiddle so apsillers has given the correct answer which he has then removed.
Answer #3 (awesome)
And one I discovered from the Mozilla documentation which is AWESOME is SHIFT-F4. This opens a SMART JavaScript editor, known as the JavaScript Scratchpad, window with a run button, auto-plete features, and allows you to save your work.
What I'm looking to do is not write JavaScript in the source of the website. But use an addon/extension to type JavaScript in a browser console and see the results in the browser. Kind of like JSFiddle, but for your own sites.
What I'm looking to do is not write JavaScript in the source of the website. But use an addon/extension to type JavaScript in a browser console and see the results in the browser. Kind of like JSFiddle, but for your own sites.
Share Improve this question asked Dec 12, 2014 at 22:59 6ft Dan6ft Dan 2,4551 gold badge35 silver badges46 bronze badges 2- how about the developed console? – Pointy Commented Dec 12, 2014 at 23:00
- Are you on the "Console" tab in the developer tools? If so, you type things in at the very bottom. – apsillers Commented Dec 12, 2014 at 23:02
2 Answers
Reset to default 3You can use the developer tools in Firefox (available in essentially all browsers at this point).
In Firefox, the shortcut to open them is CTRL+SHIFT+K. Then go to the Console tab, and you can type JavaScript.
I have found 3 ways to do it. https://developer.mozilla/en-US/docs/Tools/Keyboard_shortcuts is the official source.
Answer #1
@Mike gave a good answer with CTRL-SHIFT-K which brings up a console. The console permits a one line mand to be run. (It's so small it's barely noticeable.)
Answer #2 (winner)
This is part of the Firebug addon. @apsillers had originally mented CTRL-SHIFT-C from there you click Console and then a tiny side arrow on the right opens up a side entry for JavaScript with a run mand. This is exactly like JSFiddle so apsillers has given the correct answer which he has then removed.
Answer #3 (awesome)
And one I discovered from the Mozilla documentation which is AWESOME is SHIFT-F4. This opens a SMART JavaScript editor, known as the JavaScript Scratchpad, window with a run button, auto-plete features, and allows you to save your work.
本文标签: Is there a Firefox addon to test JavaScript in browserStack Overflow
版权声明:本文标题:Is there a Firefox addon to test JavaScript in browser? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745561244a2156174.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论