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
const initialText = document.getElementsByClassName('notion-callout__content')[0].getElementsByTagName('h1')[0].getElementsByTagName('strong')[0].innerHTML; | |
const firstWord = initialText.split(' ')[0]; | |
let rotatorReference = document.getElementsByClassName('notion-callout__content')[0].getElementsByTagName('h1')[0].getElementsByTagName('strong')[0] | |
const rotatorWord = document.createElement('span') | |
rotatorWord.innerHTML = 'placeholder' | |
rotatorReference.appendChild(rotatorWord) |
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
### Keybase proof | |
I hereby claim: | |
* I am h2p3m on github. | |
* I am hpm (https://keybase.io/hpm) on keybase. | |
* I have a public key ASB_5K098s8YQKKyeYFyPcIwTxeABRfC75DnK92jYMTM0go | |
To claim this, I am signing this object: |