| 1 |
javascript:(function(){ |
| 2 |
var d = document |
| 3 |
,c = d.cookie |
| 4 |
,m = c.match(/\bminifyDebug=([^; ]+)/) |
| 5 |
,v = m ? decodeURIComponent(m[1]) : '' |
| 6 |
,p = prompt('Debug Minify URIs on ' + location.hostname + ' which contain:' |
| 7 |
+ '\n(empty for none, space = OR, * = any string, ? = any char)', v) |
| 8 |
; |
| 9 |
if (p === null) return; |
| 10 |
p = p.replace(/^\s+|\s+$/, ''); |
| 11 |
v = (p === '') |
| 12 |
? 'minifyDebug=; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/' |
| 13 |
: 'minifyDebug=' + encodeURIComponent(p) + '; path=/'; |
| 14 |
d.cookie = v; |
| 15 |
})(); |