Libraryless. Click here for Pure Java version (4269L/25K).
1 | sS js_addToHead(S html) { |
2 | ret replaceDollarVars_js([[ |
3 | (function() { |
4 | var target = document.querySelector("head"); |
5 | target.insertAdjacentHTML("beforeend", $html); |
6 | nodeScriptReplace(target); |
7 | })(); ]], +html); |
8 | } |
Began life as a copy of #1032644
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032790 |
Snippet name: | js_addToHead - requires nodeScriptReplace |
Eternal ID of this version: | #1032790/1 |
Text MD5: | 2e2c5ea028bbd84a8452e17ea7b8d9b8 |
Transpilation MD5: | 3710ec2b0d6e608ea44f21800d44cb42 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 05:15:29 |
Source code size: | 241 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 212 |
Referenced in: | [show references] |