Thread:Pecoes/@comment-44043-20121211003036/@comment-3508190-20121211044430

Then add a check for the page name near the top of the script:

var pages = [ 'page title 1', 'page title 2' // etc. ]; $(function {    'use strict';    if (mw.config.get('wgNamespaceNumber') !== 14) return;    if ($.inArray(mw.conifg.conf('wgPageName'), pages) === -1) return;

// *snip* }