PDA

View Full Version : onfiltered event


xtina
08-16-2002, 01:33 AM
I'm new to javascript and I'm trying to find information on the "onfiltered" event.

I've looked in the index of the "Javascript Definitive Guide" book and I did a google search and could not find any information.

Does this event exist?
What does it do?

Does anyone have an example of how to use it?

thanks in advance!

mordred
08-16-2002, 03:27 AM
The Internet Explorer knows of an event called "onfilterchange", it that's what you're looking after. Otherwise, I haven't encountered any "onfiltered" event yet in JavaScript.

http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onfilterchange.asp

WA
08-16-2002, 03:38 AM
Hi:
Actually, if I think I know what you're referring to. onfliter is a non existent event handler that web based email services such as Yahoo mail uses in place of actual event handlers inside emails that contain a JavaScript. It's a security precaution, to disable any malicious script from executing in the user's browser.

xtina
08-18-2002, 03:55 PM
You hit the nail on the head!

A friend had emailed me that I needed to use the 'onfiltered' event. I read my email in yahoo and yahoo changed the word 'onunload' to 'onfiltered'. Yahoo did not warn me that they had changed the content of my email.

I had spent 2 hours trying to find the 'onfiltered' command, when it never existed!

I downloaded that same message into Outlook Express and there was my email in it's original form!

Yahoo should really warn users that if there is JavaScript in an email that it changes the email and deletes references to commands!:mad:

Thanks WA for giving me that tip! :)

-xtina

Roy Sinclair
08-19-2002, 05:25 AM
Yahoo should really warn users that if there is JavaScript in an email that it changes the email and deletes references to commands! :mad:

This is not a bad thing, some spammers have the evil habit of using the onload event and others to run pop-up ads and even less savory actions. IMO any email ought to totally fail to run any javascript or even fetch any content not made a part of the original message (no links to remote images).

Rinke
10-15-2005, 11:27 AM
---
This is not a bad thing, some spammers have the evil habit of using the onload event and others to run pop-up ads and even less savory actions. IMO any email ought to totally fail to run any javascript or even fetch any content not made a part of the original message (no links to remote images).
---

I can see the need to provide against spammers. It would however be very polite to notice the user about the change. Here I am reading some actionscript i've never seen before so I search the net. It took a while to figure out the code was silently modified. Furthermore I believe remote images can help in showing your identity without delivering the same image in everybody's mailbox.