summaryrefslogtreecommitdiffstats
path: root/admin/survey/minify/builder/bm2.js
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/minify/builder/bm2.js')
-rw-r--r--admin/survey/minify/builder/bm2.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/admin/survey/minify/builder/bm2.js b/admin/survey/minify/builder/bm2.js
new file mode 100644
index 0000000..a6c7d16
--- /dev/null
+++ b/admin/survey/minify/builder/bm2.js
@@ -0,0 +1,15 @@
+javascript:(function(){
+ var d = document
+ ,c = d.cookie
+ ,m = c.match(/\bminifyDebug=([^; ]+)/)
+ ,v = m ? decodeURIComponent(m[1]) : ''
+ ,p = prompt('Debug Minify URIs on ' + location.hostname + ' which contain:'
+ + '\n(empty for none, space = OR, * = any string, ? = any char)', v)
+ ;
+ if (p === null) return;
+ p = p.replace(/^\s+|\s+$/, '');
+ v = (p === '')
+ ? 'minifyDebug=; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/'
+ : 'minifyDebug=' + encodeURIComponent(p) + '; path=/';
+ d.cookie = v;
+})(); \ No newline at end of file