AniwatchPlus/enhancements/animeRequests.js

11 lines
318 B
JavaScript
Raw Normal View History

const starIcon = "star";
executeAfterPreload(changeFollowedStarColor);
function changeFollowedStarColor() {
// find stars
let followedItems = Array.from(document.querySelectorAll("i")).filter(i => i.innerText == starIcon);
// change color
followedItems.forEach(item => item.style.color = aniBlue);
}