MediaWiki:RemoveTracking.js

if (!window.hasOwnProperty('dev')) { window.dev = {}; } if(!window.dev.hasOwnProperty('forceRemoveTracking')) { window.dev.forceRemoveTracking = force; }

if ($.cookie('tracking-opt-in-status') || window.dev.forceRemoveTracking) { $('[data-tracking-label], [data-tracking]').removeAttr('data-tracking-label data-tracking'); }