View puppeteer-wait-network-xhr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function waitForAjaxCalls(page: Page) { | |
const task = new Task<void>(); | |
let _expectedCount = Infinity; | |
let processedCalls = 0; | |
const handler = (req: HTTPRequest) => { | |
if (req.method() !== 'POST') { | |
return; | |
} |
View fast-sparql-query.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | |
<meta name="Copyright" content="Copyright © 2022 OpenLink Software" /> | |
<meta name="Keywords" content="OpenLink Virtuoso Sparql" /> | |
<title>Virtuoso SPARQL Compilation report</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css" integrity="sha512-P5MgMn1jBN01asBgU0z60Qk4QxiXo86+wlFahKrsQf37c9cro517WzVSPPV1tDKzhku2iJ2FVgL67wG03SGnNA==" crossorigin="anonymous" /> |
View i18n.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as error from './cs/error.json'; | |
/* | |
// Content of a "./cs/error.json" file | |
{ | |
"general": { | |
"unexpected": "Došlo k neočekávané chybě." | |
}, | |
"unauthorized": { | |
"token": "Váš přístup byl zamítnut, nevalidní token." | |
} |
View Bypass Google reCaptcha - JS example.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// API key | |
// https://2captcha.com/enterpage | |
const API_KEY = "XXXX"; | |
// Find site key of a website | |
const googleSiteKey = document | |
.getElementsByClassName("g-recaptcha")[0] | |
.getAttribute("data-sitekey"); | |
// Helper parsing function |