Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Client side JavaScript to filter

Need to filter content to user.



11:32 am on Apr 29, 2002 (gmt 0)

Inactive Member
Account Expired


I have a specific need to filter by domain(.mil) using client-side JavaScript. In other words, if they are a .mil, they see this content, .com - this content etc. Is this possible?
5:58 pm on Apr 29, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:July 28, 2000
votes: 0

Welcome to WMW RudiRoo. I am fairly certain it is possible to do what you want. I am going to move your question to the Browsers forum, where I am sure someone will be able to answer your question.
6:05 pm on Apr 29, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 7, 2001
votes: 0

This is best done through server side scripting.

Otherwise, if a user has their JavaScript turned off, they will get the wrong content.