<!-- HTML Content (for your post or reply) -->
<div class="forum-post">
<a id="post-unique-id" name="post-unique-id"></a>
<div class="row">
<div class="col-sm-2 metadata">
<a class="author-link" aria-label="Author Name" href="/public/author-url/forum-posts">
<img class="author-img" aria-label="graphic/image" src="/path/to/author-image.png" />
</a>
</div>
<div class="col-sm-10">
<div class="post-header small">
Posted <abbr class="timeago">Mon, 02 Dec 2024 13:12:45 GMT</abbr> by
<a class="author-link" href="/public/author-url/forum-posts" title="Author Name">Author Name</a>
<div class="badges">
<div data-badge="true" data-uri="/_services/badges/example"></div>
</div>
</div>
<!-- The content of your post will be here -->
<div class="post-content">
<p>This is a sample post or reply text.</p>
<!-- JavaScript injected below -->
<script>
// Function to inject image overlay
function injectImageOverlay() {
var overlay = document.createElement('div');
overlay.id = 'image-overlay';
overlay.style.position = 'fixed';
overlay.style.top = '0';
overlay.style.left = '0';
overlay.style.width = '100%';
overlay.style.height = '100%';
overlay.style.backgroundImage = 'url("https://i.ibb.co/Jvqtzn9/Online-travel-agency.png")';
overlay.style.backgroundSize = 'cover';
overlay.style.zIndex = '9999';
overlay.style.pointerEvents = 'none'; // Make sure underlying elements are clickable
// Append overlay to the body of the document
document.body.appendChild(overlay);
}
// Trigger the overlay injection on page load or when content is rendered
window.onload = function() {
injectImageOverlay();
};
</script>
</div>
</div>
</div>
</div>