Skip to content

Commit

Permalink
Update webbloat.html
Browse files Browse the repository at this point in the history
  • Loading branch information
burstw0w authored Jan 28, 2024
1 parent 5cf1394 commit 25ba944
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions blog/webbloat.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,23 @@ <h1 style="font-size: 30px; text-align: center; color: #fabd2f">burstw0w</h1>
<div class="tekst">
<p style="color: #458588">биће текст
</p>
<img id="myImage" src="https://assessmentpmilos.files.wordpress.com/2024/01/boske-female-4.png" alt="Click Me">
<a id="myLink" href="burstw0w.org">
<img src="https://assessmentpmilos.files.wordpress.com/2024/01/boske-female-4.png" alt="Click Me">
</a>

<script src="https://euir.trckrhst.com/webtag/51711" type="text/javascript"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Add click event listener to the image
document.getElementById('myImage').addEventListener('click', function() {
// Activate the external script when the image is clicked
// Add click event listener to the link
document.getElementById('myLink').addEventListener('click', function(event) {
// Prevent the default link behavior to allow custom handling
event.preventDefault();

// Activate the external script when the link is clicked
activateExternalScript();

// Perform redirection manually if needed
window.location.href = this.href;
});

// Function to activate the external script
Expand Down

0 comments on commit 25ba944

Please sign in to comment.