Fix/Loop Protect - Remove noprotect from saved code

This commit is contained in:
Stuart
2016-06-14 00:25:42 +01:00
parent 9ac80998a7
commit b2e2eaa594
3 changed files with 12 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ window.common = (function(global) {
common.seed = common.arrayToNewLineString(common.challengeSeed);
common.replaceNoprotect = function replaceNoprotect(value) {
return value.replace(/noprotect/gi, '');
};
common.replaceScriptTags = function replaceScriptTags(value) {
return value
.replace(/<script>/gi, 'fccss')