By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,799 Members | 1,379 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,799 IT Pros & Developers. It's quick & easy.

Add site to Trusted Sites List

P: 1

1.Add site toTrusted Sites List using javascript( programmatically ).
2.How to check it programmatically using javascript, if the specific site is included in the "Trusted Sites"

Thanks in advance
Feb 6 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Welcome to The Scripts.

This should not be possible. If it were possible, it would be a big security hole. The main purpose of Trusted Sites is that security is lower. If a malicious developer could set his site in the Trusted Sites, it would seriously compromise security.

The solution is quite a simple one. Tell users to manually include your site in their Trusted Sites giving step-by-step instructions.

See these earlier threads on the topic:
Add site to trusted sites
Add trusted sites through Javascript
Feb 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.