Compare commits

..

No commits in common. "571e204f870716377f4c33125d0e8a9ef144808d" and "bcd2394cc59ae21d0db615d56e1a385177f44dff" have entirely different histories.

View file

@ -136,7 +136,7 @@
.querySelector(".text")
.innerHTML
.replace(/(<([^>]+)>)/ig, '')
.search(/profile them/ig) == -1)
.search(/profile theming post/ig) == -1)
return false;
const ptp = pinnedPost.nextElementSibling.querySelector(".StatusBody");
@ -148,14 +148,8 @@
setMusic(rand(musicContainer.children).src);
return true;
} else {
const placeholderContainer = ptp.querySelector(".placeholder-container");
if (placeholderContainer && placeholderContainer.href.endsWith(".m4a")) {
setMusic(placeholderContainer.href);
return true;
} else {
setMusic(null);
return false;
}
setMusic(null);
return false;
}
});