Not so secret

Developer
Size
2,308 Kb
Views
20,240

How do I make an not so secret?

Adaptation of a handwritten idea obfuscation technique.. What is a not so secret? How do you make a not so secret? This script and codes were developed by Kevin Bertram on 08 September 2022, Thursday.

Not so secret Previews

Not so secret - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>not so secret</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='msg'> <p> a circle a ring </p> <p> a thing to polish </p> <p> is only shiny for a short time </p>
</div>
<div class='res'></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Not so secret - Script Codes CSS Codes

* { font-family: 'Inconsolata', monospace; line-height: .8; font-size: 16px;
}
body { background: #000; color: #fff;
}
.res { margin: 25vh auto; display: none; text-align: center;
}
.msg { display: none;
}

Not so secret - Script Codes JS Codes

(function($) {
$.reverseString = function(str) { if(typeof str !== 'string') { throw new Error('reverseString accepts only strings.'); return; } var strArr = str.split(''); var reversed = strArr.reverse(); return reversed.join(''); };
})(jQuery);
$('p').each(function(){ sm = $(this).text();
sm = sm.replace(/\s+/g, '');
smr = $.reverseString(sm);
$('.smr').append(smr);
var Arr1 = smr, Arr2 = [], Arr3 = [];
for (i=0;i<Arr1.length;i++){ if ((i+2)%2==0) { Arr3.push(Arr1[i]); } else { Arr2.push(Arr1[i]); }
}
if (Arr2.length < Arr3.length) { ads = "&nbsp;" + Arr2[0]; Arr2[0] = ads; }
$('.res').append(Arr3,"<br>",Arr2, "<br><br>");
$(this).hide();
$('.res').fadeIn();
});
Not so secret - Script Codes
Not so secret - Script Codes
Home Page Home
Developer Kevin Bertram
Username kbrtrm
Uploaded September 08, 2022
Rating 3
Size 2,308 Kb
Views 20,240
Do you need developer help for Not so secret?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Kevin Bertram (kbrtrm) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!