Standalone Norton Seal And JavaScript to open Verification Window for Testing
Rob — October 28, 2012 - 11:29
When developing web applications, clients usually would like some sort of SSL certificate verification image seal on their website. Some SSL certificate providers, like Norton Symantec, provide their customers with some JavaScript that retrieve the image seal based on some conditional logic.
The JavaScript provided by the SSL certificate company works fine in a production environment (live website), but when developing and testing the code prior to deploying to production as in Development, Quality Assurance or UAT (User Acceptance Testing) environments which are usually set up to run behind a firewall and / or VPN then this code may sometimes not produce the proper image.
So I have provided some code that you can use to place a Norton Seal on your website that should work in all environments. Please see attached HTML file and PNG file. You will have to replace the website domains with your own domains to get a proper verification.
Copy both files attached to this blog post to a folder on your computer and simply click on one of the images to see the verification window.
Here is what the code looks like:
<h2>www.comparasave.com</h2>
<a href="javascript:window.open('https://trustsealinfo.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.comparasave.com&lang=en','NortonSeal','width=540,height=445,top=50,left=50');" title="Click to Verify - This site chose Symantec SSL for secure e-commerce and confidential communications.">
<img src="Norton-SSL-Seal.png" />
</a>
- Rob's blog
- Login to post comments