Libraryless. Click here for Pure Java version (622L/6K/17K).
1 | !747 |
2 | |
3 | m { |
4 | !include #1000903 // SelectFinder |
5 | |
6 | p { |
7 | S s = loadPage("http://tinybrain.de:8080/tb/snippets.php?action=list"); |
8 | new SelectFinder f; |
9 | f.go(s); |
10 | S tag = f.select.get(1); |
11 | print(tag); |
12 | S name = htmlgetparams(tag).get("name"); |
13 | if (name != "type") |
14 | error("huch: " + tag); |
15 | |
16 | print(structure(f.options)); |
17 | |
18 | for (S[] o : f.options) { |
19 | if (o[0].equals("")) continue; |
20 | name = o[1].replaceAll(".*\\]", "").trim(); |
21 | int id = parseInt(o[0]); |
22 | print("Type found: " + "[" + id + "] " + name); |
23 | } |
24 | } |
25 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000902 |
Snippet name: | Testing SelectFinder (find snippet types) |
Eternal ID of this version: | #1000902/1 |
Text MD5: | 86eb129557ac945ac1794f979c9f9d50 |
Transpilation MD5: | 11aaaea03bd63652041fe8b13185cb60 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-07 16:39:23 |
Source code size: | 593 bytes / 25 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 688 / 781 |
Referenced in: | [show references] |