User:Chaotic Enby/GoodArticleStar.js

var $star = $('#mw-indicator-good-star > div > span > a > img'); $star.attr('src', '//upload.wikimedia.org/wikipedia/commons/c/c9/Good_article_fractal_star.svg'); $star.attr('srcset', '//upload.wikimedia.org/wikipedia/commons/c/c9/Good_article_fractal_star.svg');

var $xga = $('#xtools_result > span > a:first'); if($xga.attr("title") == 'Assessment: GA') {	var $xstar = $('#xtools_result > span > a > img'); $xstar.attr('src', '//upload.wikimedia.org/wikipedia/commons/c/c9/Good_article_fractal_star.svg'); $xstar.attr('srcset', '//upload.wikimedia.org/wikipedia/commons/c/c9/Good_article_fractal_star.svg'); }