Libraryless. Click here for Pure Java version (5353L/33K).
1 | sbool reconnectingWebSocketsLoadedInHTML(S html) { |
2 | if (!contains(html, "ReconnectingWebSocket")) false; |
3 | for (S script : allJavascriptFromHTMLIncludingEventHandlers(html)) |
4 | if (jcontains(jsTok(script), "ReconnectingWebSocket")) true; |
5 | false; |
6 | } |
Began life as a copy of #1031448
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031617 |
Snippet name: | reconnectingWebSocketsLoadedInHTML |
Eternal ID of this version: | #1031617/1 |
Text MD5: | cc726f96dd2ac0f45a361fdffd18f740 |
Transpilation MD5: | 8c87b038bde753043e6d354344ac23b0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-22 11:13:49 |
Source code size: | 255 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 133 / 192 |
Referenced in: | [show references] |