I wanted to revisit an old topic that still matters for anyone using Xisto’s free hosting to serve ads or affiliate links: opening support ads in a new window so visitors stay on our forums while clicking out.
Back in the day, we used target="_blank" directly in anchor tags, like:
<a href="http://example.com" target="_blank">Link</a>
But modern browsers and security standards have changed. Today, simply adding target="_blank" without the rel attribute can expose your site to tabnabbing attacks. The recommended approach is:
<a href="http://example.com" target="_blank" rel="noopener noreferrer">Link</a>
This ensures the new page cannot access your forum’s window via window.opener, and it also prevents referrer leakage.
What About Banner Rotators or Iframes?
If you serve ads through third-party scripts (e.g., Google AdSense or a banner rotator), you usually cannot force their links to open in a new window because the ad code controls the link behavior. However, you can often configure ad settings in your ad provider’s dashboard to add target="_blank" to generated links. Alternatively, you can wrap the ad code in a custom div and use JavaScript to intercept clicks, but that can violate ad policies.
Xisto-Specific Tips
Since Xisto provides free cPanel hosting with 1GB space, you have full control over your site’s HTML. If you’re embedding ads manually (e.g., through a text ad or a custom banner), always use the target="_blank" rel="noopener noreferrer" combination. For forum signatures or posts, Xisto’s forum software (Invision Power Board) may strip certain HTML attributes. In that case, consider using the forum’s built-in link BBCode or ask staff if they can whitelist the attribute.
What About Opening All Links in New Windows?
It’s usually a bad idea to force every link to open in a new window – it breaks user expectations and can hurt usability. Let users decide by middle-clicking or using Ctrl+click. That said, for support ads (non-essential links), opening in a new window is common practice.
Modern Alternatives
target="_blank"withrel="noopener noreferrer"– The gold standard.- CSS
cursor: pointer– Doesn’t affect linking, but makes ads feel clickable. - JavaScript with
window.open()– Can be used but may be blocked by popup blockers.
Ultimately, test your ads to ensure they work across browsers. If you’re using Xisto’s free hosting, you can experiment with different methods safely.
What have you found works best for your Xisto-hosted ads? Let’s discuss!

