Libraryless. Click here for Pure Java version (10098L/58K).
1 | !7 |
2 | |
3 | html {
|
4 | print("Reload Bot.");
|
5 | if (!webAuthed(params)) ret "nope"; |
6 | uri = dropPrefix("/", uri);
|
7 | if (!isSnippetID(uri)) ret "need id"; |
8 | long id = parseSnippetID(uri); |
9 | temp tempSetTL((ThreadLocal) get(getDispatcher(), 'dispatcherAuth), true); |
10 | S s = askSelf("reload sub bot " + id);
|
11 | if (!isOK(s)) ret htmlencode(s); |
12 | ret htitle("Reloaded.") + htmlencode(s) + hrefresh(1, tb_mainServer() + "/tb/show-snippet.php?id=" + id);
|
13 | } |
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: | 826 / 4721 |
| Version history: | 10 change(s) |
| Referenced in: | [show references] |