Any html5 guru's in here? - a challenge for you!

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Currently I have this code in my style part of the ps4 dongle code:

Code:
<style>
h1{border-bottom: 4px solid red;}body{background-color:Black;color:black;font-size:20px;text-align:center;margin:0;overflow:hidden;}.info{overflow: hidden;position: fixed;position: absolute;top: 45%;left: 50%;font-size: 30px;font-family: sans-serif;color: #b8b8b8;transform: translate(-50%, -50%);}
</style>

It works fine and is called like this:
Code:
<body onload="setTimeout(poc, 1500);">
<div class="info" id="message"><h1></h1>Please wait, I'm trying to run the exploit!<h1></h1></div>
</body>

When the ps4 is using the dongle it calls some java script similar to this:
Code:
function showMessage(msg) {
  document.getElementById("message").innerHTML = msg;
  document.getElementById("message").style.display='block';
}

function run_hax() {
    showMessage("test");
}

How can I get the 'show message' to use the h1 style above when run_hax calls the showmessage function? I am unfamiliar with html coding and java coding. I have tried reading some stuff on google but I couldn't get the message to show using the style. Can someone that codes in html enlighten me please.

Cheers.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol