aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/cheat.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/cheat.js b/public/javascripts/cheat.js
index 863e53a..242dd79 100644
--- a/public/javascripts/cheat.js
+++ b/public/javascripts/cheat.js
@@ -10,6 +10,10 @@ new Konami(function () {
10 // play nice soundtrack 10 // play nice soundtrack
11 (new Audio('/assets/medias/sims2-university-theme.ogg')).play(); 11 (new Audio('/assets/medias/sims2-university-theme.ogg')).play();
12 12
13 // substitute currency symbols with §
14 var currencySymbols = /[\$\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BD\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6]/;
15 document.body.innerHTML = document.body.innerHTML.replace(currencySymbols, "§");
16
13 // display cheat console 17 // display cheat console
14 var form = document.createElement('form'); 18 var form = document.createElement('form');
15 form.classList.add('cheat-form'); 19 form.classList.add('cheat-form');