Adds a 'Shake' button to unrevealed gifts
Great script though, thank you so much!!
Hi there! I made a change where it'll move the Shake Gifts button to the right and uses the class for links/buttons on AO3 if you would like to update it in or if anyone else wants to edit their script in their browser:
if (a.innerText.includes("This is part of an ongoing challenge and will be revealed soon!")) a.innerHTML +=
<p class="actions" style="margin: 0; display:inline-block; float:right;"><a rel="nofollow" onclick=window.open("${link}","_blank")>Shake</a></p>
Oops for anyone looking; the backticks on the statement didn't show. Please copy the below code instead.if (a.innerText.includes("This is part of an ongoing challenge and will be revealed soon!")) a.innerHTML += `
<p class="actions" style="margin: 0; display:inline-block; float:right;"><a rel="nofollow" onclick=window.open("${link}","_blank")>Shake</a></p>
`
Hi there! I made a change where it'll move the Shake Gifts button to the right and uses the class for links/buttons on AO3 if you would like to update it in or if anyone else wants to edit their script in their browser:
if (a.innerText.includes("This is part of an ongoing challenge and will be revealed soon!")) a.innerHTML +=
<p class="actions" style="margin: 0; display:inline-block; float:right;"><a rel="nofollow" onclick=window.open("${link}","_blank")>Shake</a></p>
Just comment out line 18 with // and copy/paste the above code into line 19 as shown in screenshot below.