Remember the card in local storage also for the hacking view (not the card-only view)

master
Kuba Orlik 3 years ago
parent 7cba59c3be
commit eb1f25debf

@ -33,7 +33,22 @@ module.exports = function (id, card) {
} }
</style> </style>
<img id="track" style="opacity:0" /> <img id="track" style="opacity:0" />
<!--<script>
track.src = \`/track?id=${id}&DNT=\${navigator.doNotTrack}&lang=\${
navigator.language
}&res=\${
window.screen.width + "x" + window.screen.height
}&appCodeName=\${navigator.appCodeName}&appVersion=\${
navigator.appVersion
}&platform=\${navigator.platform}\`;
</script>-->
<script> <script>
(function () {
if (localStorage.getItem("card")) {
// card.innerHTML = localStorage.getItem("card");
return;
}
localStorage.setItem("card", \`${getEmoji(card)}\`);
track.src = \`/track?id=${id}&DNT=\${navigator.doNotTrack}&lang=\${ track.src = \`/track?id=${id}&DNT=\${navigator.doNotTrack}&lang=\${
navigator.language navigator.language
}&res=\${ }&res=\${
@ -41,12 +56,18 @@ module.exports = function (id, card) {
}&appCodeName=\${navigator.appCodeName}&appVersion=\${ }&appCodeName=\${navigator.appCodeName}&appVersion=\${
navigator.appVersion navigator.appVersion
}&platform=\${navigator.platform}\`; }&platform=\${navigator.platform}\`;
})();
</script> </script>
<body> <body>
<h1>Trwa hackowanie telefonu....</h1> <h1>Trwa hackowanie telefonu....</h1>
<ul> <ul>
<li>ID ATAKU: <strong>${id}</strong></li> <li>ID ATAKU: <strong>${id}</strong></li>
<li>TWOJA KARTA TO: ${getEmoji(card)}</li> <li>
TWOJA KARTA TO:
<script>
document.write(localStorage.getItem("card"));
</script>
</li>
<li> <li>
<script> <script>
$(navigator.appCodeName); $(navigator.appCodeName);

Loading…
Cancel
Save