Created
August 12, 2025 08:08
-
-
Save younes0/bf5dafe99c18ac3d4d871722bc5fb6dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
document.body.addEventListener('dblclick', e => { | |
const btn = e.target.closest('.notion-page-block')?.querySelector('[role="button"][aria-label]'); | |
if (btn) btn.click(); | |
}, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment