Created
November 22, 2023 21:48
-
-
Save vicariousdrama/4e57aa4c961ce7491c053e4e58908bd8 to your computer and use it in GitHub Desktop.
Nostr Nests - Javascript iframe injection
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
This is the basic logic to paste into the address bar to add an iframe | |
```js | |
javascript:(() => {roomname=window.location.pathname.substr(1);const iframe=document.createElement('iframe'); iframe.width='100%'; iframe.height='750'; iframe.src='https://dddice.com/room/C1vhrpm'; document.body.insertBefore(iframe, document.body.firstChild);})(); | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment