User:Joeytje50/categories.js

/* This scripts warns you when a page in one of the categories you are watching (maximum is 5) is edited. It shows the person who edited what page, and hovering over gives the summary used. To install this, put the following on your personal js file: var cgwatch = (category name); importScript('User:Joeytje50/categories.js'); $.getJSON('http://runescape.wikia.com/api.php?action=query&list=categorymembers&cmtitle=Category:' + cgwatch1 + '&cmprop=ids|title|timestamp&cmlimit=1&cmsort=timestamp&cmdir=desc&format=json', function(cgwatch) {	$('#WikiaHeader nav ul').append('' + cgwatch.query.categorymembers[0].title + ' has been edited in Category:' + cgwatch + ''); });