[JS] UserSparkleRemover | Remove Fancy Particles from usernames 04-19-2020, 01:04 AM
#1
the script removes the following gif, it might be loaded a few hundred times on the index page, which can make some low-performance devices lag, you can use this script to remove all of the instances of the gif, which reduces load times (see also PrefixSparkleRemover):
![[Image: sparkle.gif]](https://sinister.ly/images/groupimages/extra/sparkle.gif)
Without UserSparkleRemover Script:
![[Image: 1ZXt-uuPR-SBgcvlCWPxZA.png]](https://image.prntscr.com/image/1ZXt-uuPR-SBgcvlCWPxZA.png)
With UserSparkleRemover:
![[Image: iYrCe6I9SViX6XW10hYz6A.png]](https://image.prntscr.com/image/iYrCe6I9SViX6XW10hYz6A.png)
Script:
![[Image: sparkle.gif]](https://sinister.ly/images/groupimages/extra/sparkle.gif)
Without UserSparkleRemover Script:
![[Image: 1ZXt-uuPR-SBgcvlCWPxZA.png]](https://image.prntscr.com/image/1ZXt-uuPR-SBgcvlCWPxZA.png)
With UserSparkleRemover:
![[Image: iYrCe6I9SViX6XW10hYz6A.png]](https://image.prntscr.com/image/iYrCe6I9SViX6XW10hYz6A.png)
Script:
Code:
var x = document.getElementsByTagName("span"), i;
for (i = 0; i < x.length; i++) {
if (x[i].style.backgroundImage == 'url("https://www.sinister.ly/images/groupimages/extra/sparkle.gif")') {
x[i].style.backgroundImage = ""
}
}Code:
For TamperMonkey, add this to the script:
// @match https://sinister.ly/*
(This post was last modified: 04-19-2020, 01:44 AM by miso.)







![[+]](https://sinister.li/images/modern/collapse_collapsed.png)



![[Image: knBIEph.png]](https://i.imgur.com/knBIEph.png)
![[Image: signature.png]](https://ctrlhub.co/style/images/signature.png)