JSFiddle - React, Tailwind, and code Playground
making public_v01 - AES Page Encryption v162 (reverted back to v137, v138 does have working DIV decryption demo) last stable was v160 and before that v____ https://www.ipnoid.com/members/index.php?page=top_records&pidm=21535&type=mostActive&pget=12469 Link Web statistics https://www.freecounterstat.com/geozoom.php?c=4smq1jdqafsay5j7737p3ge4nwf6n79n&base=counter10
by dledle2
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://gistcdn.githack.com/victornpb/f639f37373be0f6e82e1/raw/5d8f7ee8b32ae04de087d2377d8086e3389ee411/AES.js"></script>
<!-- <a href="http://www.movable-type.co.uk/scripts/aes.html">http://www.movable-type.co.uk/scripts/aes.html</a>
<br>
// -->
<font size="+3">
<a href="#" aes-linktextinnerhtml="XwGsBnHjr11DR+XdhPu6or/u" aes-href="MgC0f7ZMK2Dg7a/2J3VQRfAUMC/JAyQ9LCV6FO70LKUDHEHLmrklj6aaxUVNyBvD75RaSWWqcXjVsN0AbxzpMTIM5cKLV1Le0y+dFg==" data-enc="AES-256" target="_new">HomeVideos</a>
<br>
<a href="#" style="display:none;" aes-linktextinnerhtml="pgOLt5Xjr135JR2s09F53TGYiuwDW2g=" aes-href="bAFi2qPepF0jRp35J+XcgI/DqNOgIoLNFgko7sNCIoSt0zG6828mG7LZnLWHzdU3zhi2KDa+Hs9Apgz0Fh89u0xWaUMrXiIhkm/1HsfAqXA=" data-enc="AES-256" target="_blank">Not Visible Link 2</a>
<br>
<a href="#" style="display:none;" aes-linktextinnerhtml="MgDiV6Hjr11dkoOPj4/mm2keDoo+FNk=" aes-href="hQEviuLepF00Nl/kYjsxFC1IAy/bEyhgGfNrIV0EbzJAA40Wkd8DEy2fwWuWJ4WfQzHnDukL/wH7M972v8A2qdHj7DBfHlUXIEcJ7zYeVu0=" data-enc="AES-256" target="_blank">Not Visible Link 3</a>
<div id="encryptedDiv001" style="display:none;" aes-divinnerhtml="" data-enc="AES-256">
<ul class="default">
<li>
<a href="https://download.microsoft.com/download/1/9/2/192fd2ad-956e-4b31-a86b-0fc87315dd7a/MSArchives_2MB_on10.wmv" download="Ms-Archives-A-slice-of-Microsoft-History_high.wmv" class="mouseClick">
High Quality WMV
</a> (199.1 MB)
</li>
<li>
<a href="https://download.microsoft.com/download/1/9/2/192fd2ad-956e-4b31-a86b-0fc87315dd7a/MSArchives_on10.wmv" download="Ms-Archives-A-slice-of-Microsoft-History.wmv" class="mouseClick">
Mid Quality WMV
</a> (40.4 MB)
</li>
<li>
<a...
CSS
a[data-enc="AES-256"]:after {
/* locked */
content:'\1f512';
font-size: 1em;
opacity: 1;
}
a[data-enc="none"]:after {
/* unlocked */
content:'\1f513';
font-size: 0.85em;
opacity: 0.5;
}
/* CSS used here will be applied after bootstrap.css */
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.25);
float: none;
}
.col-center {
float: none;
margin: 0 auto;
}
.overlay > div {
margin-top: 1em;
}
JavaScript
if (location.protocol != 'https:') {
try{location.href = 'https:' + window.location.href.substring(window.location.protocol.length); }catch(e){}}
/* myStrURL= */
/* try{window.open(myStrURL , '' , ''); }catch(e){} */
window.boolWindowOpenedSuccessfullyAlready = false;
function inIframe () {
try {
/* below command will cause a permissions error when using iframes */
/* and will break into the catch part for error handling */
return window.self !== window.top;
} catch (e) {
return true;
}
}
function isURLjsfiddleshowlight () {
if ( document.location.href.toLowerCase().contains('/show/light/') )
{return true;}
else
{return false;}
/* below end bracket: end of function: isURLjsfiddleshowlight*/
}
try{
if (inIframe() === true){
if (window.open(window.location.href)){window.boolWindowOpenedSuccessfullyAlready=true;}
}
/* if (isURLjsfiddleshowlight() != true){window.open(window.location.href); } */
}catch(e){}
/* alert(window.boolWindowOpenedSuccessfullyAlready); */
function myFuncinIframeAndAlsoWindowOpenSameFunction() {
if (typeof window.boolWindowOpenedSuccessfullyAlready == 'undefined')
{ window.boolWindowOpenedSuccessfullyAlready=false; }
console.log(window.boolWindowOpenedSuccessfullyAlready);
if (window.boolWindowOpenedSuccessfullyAlready ===false) {
try {
if(window.self !== window.top){
if (window.open(window.location.href)){window.boolWindowOpenedSuccessfullyAlready=true;}
/* */
}
}catch(e){}
}
console.log(window.boolWindowOpenedSuccessfullyAlready);
/* below end bracket: end of function: myFuncinIframeAndAlsoWindowOpenSameFunction */
}
myFuncinIframeAndAlsoWindowOpenSameFunction();
/* myStrURL=window.location.href; */
/* try{window.open(myStrURL , '' , ''); }catch(e){} */
// Write JavaScript here window.onload = initSecurity;
window.onload = initSecurity;
function initSecurity()...