Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
// get the Char Code
function getCharCode(str){
    return str.split("").map(function(x){return x.charCodeAt(0)})
};
// Shift the CharCode
function myShift(x){
    if(x == 32){
        return x;
    }else{return x-1;}
};
// decode function
function decode(x){
  return String.fromCharCode.apply(this, getCharCode(x.innerHTML).map(myShift))
}
// print all the decoded texts in console
$('.obfuscated').each(function(index,obj){
  var s2 = decode(obj); 
  var s3 = s2.replace(/;a=/,""); 
  var s4 = s3.replace(/;.a=/,""); 
  console.log(s4);
  });
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x