Libraryless. Click here for Pure Java version (10098L/58K).
!7 html { print("Reload Bot."); if (!webAuthed(params)) ret "nope"; uri = dropPrefix("/", uri); if (!isSnippetID(uri)) ret "need id"; long id = parseSnippetID(uri); temp tempSetTL((ThreadLocal) get(getDispatcher(), 'dispatcherAuth), true); S s = askSelf("reload sub bot " + id); if (!isOK(s)) ret htmlencode(s); ret htitle("Reloaded.") + htmlencode(s) + hrefresh(1, tb_mainServer() + "/tb/show-snippet.php?id=" + id); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): ajlfxifxfcul, aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007572 |
| Snippet name: | Reload Bot [LIVE] |
| Eternal ID of this version: | #1007572/11 |
| Text MD5: | b96aeaa3995677693e6eb3df48b1e856 |
| Transpilation MD5: | f0f6429d2b5397a272aa0e98171e02af |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-09 11:53:47 |
| Source code size: | 450 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 823 / 4718 |
| Version history: | 10 change(s) |
| Referenced in: | [show references] |