var CS_encodeURIComponent = encodeURIComponent;
var CS_decodeURIComponent = decodeURIComponent;
encodeURIComponent = function(s){ s = escape(s);
while (s.indexOf('/') >= 0) { s = s.replace('/', '%2F');
}
while (s.indexOf('+') >= 0) {
s = s.replace('+', '%2B');
} return s; }
decodeURIComponent = function(s){ while (s.indexOf('%2B') >= 0) { s = s.replace('%2B', '+'); } while (s.indexOf('%2F') >= 0) { s = s.replace('%2F', '/'); } return unescape(s); }
Aucun commentaire:
Enregistrer un commentaire