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

6
LINES

< > BotCompany Repo | #1031617 // reconnectingWebSocketsLoadedInHTML

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5353L/33K).

sbool reconnectingWebSocketsLoadedInHTML(S html) {
  if (!contains(html, "ReconnectingWebSocket")) false;
  for (S script : allJavascriptFromHTMLIncludingEventHandlers(html))
    if (jcontains(jsTok(script), "ReconnectingWebSocket")) true;
  false;
}

Author comment

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: 134 / 192
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)