差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
javascript:jquery:terminal_emulator_plugin [2019/08/17 17:37] – ともやん | javascript:jquery:terminal_emulator_plugin [2019/09/05 01:09] (現在) – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | <ifauth !@loggedinusers>< | ||
- | <script async src="// | ||
- | < | ||
- | | ||
- | google_ad_client: | ||
- | enable_page_level_ads: | ||
- | }); | ||
- | </ | ||
< | < | ||
- | <script src="https:// | + | <script src="/ |
- | <link href="https:// | + | <link href="/ |
< | < | ||
jQuery(function($, | jQuery(function($, | ||
term = $('# | term = $('# | ||
- | term.terminal(function(command) { | + | term.terminal(function(command, term) { |
- | if (command !== '' | + | |
+ | term.echo(' | ||
+ | } | ||
+ | else if (command !== '' | ||
try { | try { | ||
var result = window.eval(command); | var result = window.eval(command); | ||
行 27: | 行 22: | ||
} | } | ||
}, { | }, { | ||
- | greetings: ' | + | greetings: ' |
+ | navigator.userAgent, | ||
name: ' | name: ' | ||
- | height: | + | height: |
- | prompt: ' | + | prompt: 'js > ' |
}); | }); | ||
+ | | ||
function dir(object) { | function dir(object) { | ||
var result = ''; | var result = ''; | ||
行 65: | 行 62: | ||
Copyright (c) 2011-2019 Jakub T. Jankiewicz < | Copyright (c) 2011-2019 Jakub T. Jankiewicz < | ||
+ | js > help | ||
+ | load python - Python Interpreter | ||
js > | js > | ||
</ | </ | ||
</ | </ | ||
- |