Created
December 13, 2021 16:58
-
-
Save victorjonsson/ff9f8ef010178812707dcee98f218b3f to your computer and use it in GitHub Desktop.
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
document.write( | |
[...document.querySelectorAll('img')] | |
.filter(node => node.src?.indexOf('qa.jollyroom.se') > -1) | |
.map(node => node.src.split('?')[0].replace('qa.jollyroom.se', 'qa.jollyroom.shimmercat.cloud')) | |
.map(shimmerCatSrc => '<img src="'+shimmerCatSrc+'">').join('') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment