Page MenuHomePhabricator
Paste P2260

Zero code injection
ActivePublic

Authored by jhobs on Oct 29 2015, 6:47 PM.
Referenced Files
F2893164: Zero code injection
Oct 29 2015, 7:17 PM
F2893041: Zero code injection
Oct 29 2015, 6:50 PM
F2893037: Zero code injection
Oct 29 2015, 6:47 PM
Subscribers
None
(function(window){window.zeroGlobalConfig={"enabled":true,"id":"TEST","showImages":true,"whitelistedLangs":[],"enableHttps":true,"sites":["m.wikipedia","zero.wikipedia"],"domains":["m.wikipedia.org","zero.wikipedia.org"],"proxy":false,"ipset":"","bannerUrl":"","bannerWarning":true,"partnerInfoUrl":"https://www.google.com","name":"Test Operator","exitTitle":"Custom title","warnHttps":false};var el=document.createElement("div");el.innerHTML="<div id=\"zero-rated-banner\" class=\"mw-mf-banner\" style=\"background:#E31230;color:#551011;\"><button class=\"notify-close\" style=\"background:#E31230;\" title=\"dismiss this notification\" type=\"submit\"><span class=\"notify-close-x\" style=\"background:#E31230;border-color:#551011;color:#551011;\">&#120;</span></button><span class=\"mw-mf-message\" id=\"zero-rated-banner-text\" style=\"color:#551011;\">devwiki zero-rating test on Test Operator</span></div>";document.body.insertBefore(el.firstChild,document.body.firstChild);})(window);

Event Timeline

jhobs changed the title of this paste from untitled to Zero code injection.
jhobs updated the paste's language from autodetect to autodetect.
jhobs added projects: Zero, ZeroBanner.