WebTransport
crashes tab on Chromium 97 when attempting to stream data.
View The_insanity_of_censorship.txt
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
"Sun, Jul 3, 3:22 PM | |
Hi guest271314, Your account, @guest271314 has been locked for violating the Twitter Rules. | |
Specifically for: Violating our rules against hateful conduct. | |
You may not promote violence against, threaten, or harass other people on the basis of race, | |
ethnicity, national origin, sexual orientation, gender, gender identity, religious affiliation, | |
age, disability, or serious disease. | |
avatar guest271314 @guest271314 |
View background.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
/* | |
port = chrome.runtime.connectNative('node_native_messaging_host_memory_usage'); | |
port.onMessage.addListener((message)=>{ | |
console.log(message); | |
}); | |
port.onDisconnect.addListener(()=>{ | |
if (chrome.runtime.lastError) { | |
console.log(chrome.runtime.lastError.message) | |
} |
View ctrl_v_google_image_search.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
// https://twitter.com/ericlaw/status/1521939256574423044 | |
document.onpaste = async (e) => { | |
async function handlePaste(file) { | |
const url = 'https://www.google.com/searchbyimage/upload'; | |
const fd = new FormData(); | |
fd.append('hl', navigator.languages[navigator.languages.length - 1]); | |
fd.append('filename', file.name); | |
// fd.append('image_content', file, file.name); | |
fd.append('encoded_image', file, file.name); | |
const request = await fetch(url, { |
View native_messaging_bash_string_echo.sh
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
#!/bin/bash | |
# Bash Native Messaging host, guest271314 2022 | |
# Echo JSON string that does not include (escaped) double quotes | |
# https://stackoverflow.com/a/24777120 | |
sendMessage() { | |
message=\"$1\" | |
# Calculate the byte size of the string. | |
# NOTE: This assumes that byte length is identical to the string length! | |
# Do not use multibyte (unicode) characters, escape them instead, e.g. |
View UntarFileStream.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
// UntarFileStream.js | |
// Based on https://github.com/InvokIT/js-untar/blob/master/src/untar-worker.js | |
// guest271314 4-9-2022 | |
/* | |
// Usage | |
let response = ( | |
await fetch('https://nodejs.org/dist/v17.9.0/node-v17.9.0-linux-x64.tar.gz') | |
).body; | |
let decompressedBuffer = await new Response( | |
await response.pipeThrough(new DecompressionStream('gzip')) |
View tts_service_x86_64.nexe.txt
This file has been truncated, but you can view the full file.
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
NaCl | |
x86-64 | |
N24speech_patts_chrome_nacl15NaClTtsInstanceE | |
speech/tts/platforms/chrome_nacl/nacl_main.cc | |
NaClTtsInstance::HandleMessage no method | |
startService | |
speak | |
stop | |
status |
View background.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
async function persistServiceWorker(src) { | |
return new Promise((resolve) => { | |
const removeFrames = (close = false) => { | |
for (const frame of document.querySelectorAll( | |
`[src="${src}index.html"]` | |
)) { | |
frame.parentNode.removeChild(frame); | |
} | |
if (close) { | |
port.postMessage('close'); |
View index.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> | |
<head> | |
<title>Persistent ServiceWorker</title> | |
<style> | |
body *:not(script) { | |
display: block; | |
white-space: pre; | |
} | |
</style> |
View README.md
View mediastreamtrack_does_not_render_silence.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> | |
<head> | |
<title>MediaStreamTrack does not render silence on Chromium</title> | |
<!-- https://bugs.chromium.org/p/chromium/issues/detail?id=1262796 --> | |
<!-- https://www.w3.org/TR/mediacapture-streams/#life-cycle-and-media-flow --> | |
</head> | |
<body> |
NewerOlder