Skip to content

Instantly share code, notes, and snippets.

@im-noob
Created January 9, 2022 07:37
Show Gist options
  • Save im-noob/820f0daff8a2ba0123ba0cf9bd491c4d to your computer and use it in GitHub Desktop.
Save im-noob/820f0daff8a2ba0123ba0cf9bd491c4d to your computer and use it in GitHub Desktop.
Change Whatsapp Background.js
let interval = setInterval(function(){
if(document.getElementsByClassName('_1PzAL').length != 0){
document.getElementsByClassName('_1PzAL')[0].style.backgroundImage = 'url("https://source.unsplash.com/random/952x512?sig=1")';
document.getElementsByClassName('_1PzAL')[0].style.opacity = '1';
//clearInterval(interval)
}
},1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment