Select the 'Snooze' button that appears on hover on the right side of an email in the list view, and set it's background to be red:
$$('div.UI table > tbody > tr > td ul[role="toolbar"] > li[data-tooltip="Snooze"]')[0].style.backgroundColor = '#f00'When the Snooze 'Select date and time' dialog is open, we can set the time in the textbox as follows:
$('div[role="dialog"] input[aria-label="Time"]').value = '01:23'We could set the time to 5min from the current time with something like:
var fiveMinutesLater = new Date(Date.now() + 5 * 60000).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })
$('div[role="dialog"] input[aria-label="Time"]').value = fiveMinutesLater- https://github.com/0xdevalias
- https://gist.github.com/0xdevalias
- https://github.com/0xdevalias/chatgpt-source-watch : Analyzing the evolution of ChatGPT's codebase through time with curated archives and scripts.
- Gmail Usability Hacks via JavaScript Web App Reverse Engineering (0xdevalias' gist)
- Deobfuscating / Unminifying Obfuscated Web App Code (0xdevalias' gist)
- Reverse Engineering Webpack Apps (0xdevalias' gist)
- React Server Components, Next.js v13+, and Webpack: Notes on Streaming Wire Format (
__next_f, etc) (0xdevalias' gist)) - Fingerprinting Minified JavaScript Libraries / AST Fingerprinting / Source Code Similarity / Etc (0xdevalias' gist)
- Bypassing Cloudflare, Akamai, etc (0xdevalias' gist)
- Debugging Electron Apps (and related memory issues) (0xdevalias' gist)
- devalias' Beeper CSS Hacks (0xdevalias' gist)
- Reverse Engineering Golang (0xdevalias' gist)
- Reverse Engineering on macOS (0xdevalias' gist)
https://chat.openai.com/chat