Currently I have this code in my style part of the ps4 dongle code:
It works fine and is called like this:
When the ps4 is using the dongle it calls some java script similar to this:
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.
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.