User:Mathmagician/disableEdit.js

/** * Pet project of User:Mathmagician * Disables a single user from editing a single page (JS hack). * Basically, use this when you don't want to protect an entire page * but you want to prevent a particular user from editing it. */ function disableEdit(user, page) { $(document).ready(function {        if (wgUserName === user && wgPageName === page) {            $('#WikiaMainContent nav.wikia-menu-button').remove;            $('#WikiaMainContent .editsection').remove;        }    }); } // Map of disallowed edits: