Libraryless. Click here for Pure Java version (4069L/27K).
1 | static File savePageToFileWithBaseTag(S url, File file) {
|
2 | S html = loadPage(url); |
3 | html = hAddToHead(html, hbase(url)); |
4 | ret saveTextFile(file, html); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028272 |
| Snippet name: | savePageToFileWithBaseTag |
| Eternal ID of this version: | #1028272/2 |
| Text MD5: | 5cc903d4e2c02cef19b8988b41c0394f |
| Transpilation MD5: | d0b8bd9965080fa4047d74cabef4caad |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-05 16:33:34 |
| Source code size: | 160 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 428 / 568 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |