Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1018596 // extractJavaScript (from HTML)

JavaX fragment (include)

sS extractJavaScript(S html) {
  ret join(dropFirstAndLast(2, first(findContainerTag(html, 'script))));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018596
Snippet name: extractJavaScript (from HTML)
Eternal ID of this version: #1018596/4
Text MD5: 59cd00ba17a09eec959a05f4618ac239
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-14 00:17:53
Source code size: 107 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 377
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)