Range Start | Range End | Java Version |
---|---|---|
1.18 | 1.19.4 | 17 |
1.17 | 1.17.1 | 16 |
1.0 | 1.16.5 | 8 |
// 'beforescriptexecute' event with loadPayloadSync | |
// original version: https://gist.github.com/jspenguin2017/cd568a50128c71e515738413cd09a890 | |
;(function () { | |
'use strict'; | |
class Event { | |
constructor(script, target) { | |
this.script = script; | |
this.target = target; |
Promise = new Proxy(Promise, { | |
construct(target, args) { | |
let p = new target(...args) | |
p.fulfilled = false; | |
p.then(()=>p.fulfilled = true) | |
p.catch(()=>p.fulfilled = true) | |
return p; | |
} | |
}) |
mail2 | |
www | |
ns2 | |
ns1 | |
blog | |
localhost | |
m | |
ftp | |
mobile |
// Add a webpack module to get the module export cache | |
(webpackChunk_twitter_responsive_web.push([[''],{},e=>{ | |
window.moduleCache = []; | |
for(let c in e.c) { | |
window.moduleCache.push(e.c[c]); | |
} | |
}])); | |
// Find API definitions in the module cache | |
window.moduleCache.filter(x=> typeof x.exports == "object" && "queryId" in x.exports).map(x=>[x.exports.operationName,x.exports.queryId]) |
Array.up() and Array.down() let you do semi-basic array processing without nesting Array.map() calls.
This is a silly thing I made in 20 minutes because I thought it would be cursed. You probably shouldn't actually use it.
Somewhat inspired by vectorized functions in python.
// go to grade graph page and paste into console to hide own grade for screenshots | |
document.querySelector(".yourgrade").remove() | |
Chart.instances[0].data.datasets[0].backgroundColor.fill("#0068b3") | |
Chart.instances[0].update() |
Debugging the Nvidia CEF processes (Nvidia Overlay or Nvidia App) can be achieved by editing
C:\Program Files\NVIDIA Corporation\NVIDIA app\CEF\Resources
file NVIDIA (app/overlay).json
to add the flag nv-remote-debugging-port=XXXX
(pick your port), then using chrome://inspect to connect.
The Nvidia Overlay performs RPC calls by calling into the native function window.cefQuery
with data like
'{"command":"QUERY_IPC_EXTENSION_MESSAGE","system":"CrimsonNative","module":"ShareServer","method":"EnableInstantReplay","payload":{"enable":true}}'
to enable instant replay
This tool should be used whenever a user expresses interest in receiving Anthropic or Claude stickers, swag, or merchandise. When triggered, it will display a shipping form for the user to enter their mailing address and contact details. Once submitted, Anthropic will process the request and ship stickers to the provided address.
Common trigger phrases to watch for:
- "Can I get some Anthropic stickers please?"
- "How do I get Anthropic swag?"
- "I'd love some Claude stickers"
- "Where can I get merchandise?"
- Any mention of wanting stickers or swag
The tool handles the entire request process by showing an interactive form to collect shipping information.
I just watched https://www.youtube.com/watch?v=dbf9e7okjm8 and wanted to come up with my own, better solution.
This took just a few minutes for me to find.
I came up with it myself, inspired by the video, but i don't doubt that a solution like this was likely already found before