473,507 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript in emails being stripped

A client of mine has long used HTML format emails to promote his business,
always to existing clients and contacts, not as spam. They have become more
sophisticated over time adding javascript most recently to do mouseovers and
image swapping. We are finding increasingly that some recipients are unable
to see the effects and looking at their versions of the emails I see that
the javascript code has been stripped out presumably by anti
spam/virus/trojan software at the recipients end of things. Is this to be a
growing trend? Should we just forget about embedding fancy javascript
effects in our promotional emails? Any links to more information about this
would be appreciated.

So now not only are spam and viruses ruining the internet experience but so
are the measures being taken against it...
Thanks.
Jul 23 '05 #1
10 1410
Simon Wigzell wrote:
A client of mine has long used HTML format emails to promote his business,
always to existing clients and contacts, not as spam. They have become more
sophisticated over time adding javascript most recently to do mouseovers and
image swapping. We are finding increasingly that some recipients are unable
to see the effects and looking at their versions of the emails I see that
the javascript code has been stripped out presumably by anti
spam/virus/trojan software at the recipients end of things. Is this to be a
growing trend? Should we just forget about embedding fancy javascript
effects in our promotional emails? Any links to more information about this
would be appreciated.

So now not only are spam and viruses ruining the internet experience but so
are the measures being taken against it...


I turned off JavaScript on e-mail back when I was still running Netscape
4. THere are too many spammers who use it to pop up windows (or even
unbreakable cycles of pop-ups).

In fact, if a sender isn't in my address book, HTML mail won't even show
images.

/If/ Thunderbird were to offer a JavaScript-in-mail whitelist feature, I
would consider using it.

---
John W. Kennedy
"You can, if you wish, class all science-fiction together; but it is
about as perceptive as classing the works of Ballantyne, Conrad and W.
W. Jacobs together as the 'sea-story' and then criticizing _that_."
-- C. S. Lewis. "An Experiment in Criticism"
Jul 23 '05 #2
In article <LRqQd.398488$8l.19639@pd7tw1no>, si**********@shaw.ca enlightened
us with...
We are finding increasingly that some recipients are unable
to see the effects and looking at their versions of the emails I see that
the javascript code has been stripped out presumably by anti
spam/virus/trojan software at the recipients end of things. Is this to be a
growing trend?

Absolutely. The more spammers and virus writers use script to do malicious
(or even just plain annoying) things, the more people will learn about it and
block script.
Should we just forget about embedding fancy javascript
effects in our promotional emails?


Yes. Anyone with any internet sense at all blocks scripts from mail.
I myself use Thunderbird and even block remote images because of spammers.

The more the people who use the 'net become educated, the less they
blindingly trust their programs to save them from the Evil Intarweb. The
first generation to grow up with computers is pretty much your client base
now, I'd imagine. Stop using scripts. Use CSS for hover effects. If your
users care to see it, they'll turn on HTML mail and allow your images to
show. Always provide BOTH html and text in case a client has specified not to
do html mail at all.

--
--
~kaeli~
She was engaged to a boyfriend with a wooden leg but broke
it off.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
<snip>

I don't think I can do this with CSS:
http://www.mississippiprinting.com/E...ilTemplate.htm
Jul 23 '05 #4
Lee
Simon Wigzell said:

<snip>

I don't think I can do this with CSS:
http://www.mississippiprinting.com/E...ilTemplate.htm


That actually looks pretty bad in FireFox, so I imagine it would
also look bad in Thunderbird and possibly other email clients.

Jul 23 '05 #5

"Lee" <RE**************@cox.net> wrote in message
news:cu*********@drn.newsguy.com...
Simon Wigzell said:

<snip>

I don't think I can do this with CSS:
http://www.mississippiprinting.com/E...ilTemplate.htm


That actually looks pretty bad in FireFox, so I imagine it would
also look bad in Thunderbird and possibly other email clients.

firefox doesn't like my style, what is wrong with this?

<style>
a.SW {font-family:Arial; font-size=7pt; text-decoration:none;
font-weight:bold; align:center; color:#FFFFFF;}
span.BY {font-family:Arial; font-size=10pt; font-weight:bold; align:center;
color:#FFFF00;}
</style>

The sub menu text should be quite small and fit inside the green area,
firfox is showing it large...SW stands for Small White, BY stands for Big
Yellow.
Jul 23 '05 #6
Simon Wigzell wrote:
"Lee" <RE**************@cox.net> wrote in message
news:cu*********@drn.newsguy.com...
Simon Wigzell said:

<snip>

I don't think I can do this with CSS:
http://www.mississippiprinting.com/E...ilTemplate.htm
That actually looks pretty bad in FireFox, so I imagine it would
also look bad in Thunderbird and possibly other email clients.

firefox doesn't like my style, what is wrong with this?

<style>
a.SW {font-family:Arial; font-size=7pt; text-decoration:none;
font-weight:bold; align:center; color:#FFFFFF;}
span.BY {font-family:Arial; font-size=10pt; font-weight:bold;

align:center; color:#FFFF00;}
</style>

The sub menu text should be quite small and fit inside the green area, firfox is showing it large...SW stands for Small White, BY stands for Big Yellow.


font-size=7pt; ?????
.......
font-size=10pt; ?????

------> : <------

Jul 23 '05 #7
rf
"Simon Wigzell" <si**********@shaw.ca> wrote

firefox doesn't like my style, what is wrong with this?

<style>
a.SW {font-family:Arial; font-size=7pt; text-decoration:none;
font-weight:bold; align:center; color:#FFFFFF;}
span.BY {font-family:Arial; font-size=10pt; font-weight:bold; align:center; color:#FFFF00;}
</style>
Firefox allows the *viewer* to set the font size, effectively ignoring what
the author specifies. Only IE allows you to fix font sizes, untill your IE
viewer exercises their accessibility options that is.
The sub menu text should be quite small and fit inside the green area,


Won't happen. Not with firefox. Not with any non IE browser. Not with any
none microsoft mail client either I suspect.
Jul 23 '05 #8
Simon Wigzell wrote:
A client of mine has long used HTML format emails ... Is this to be a
growing trend?

Not so much a "growing trend" as almost universal. You are wasting your
time doing it.
Jul 23 '05 #9
In article <ATyQd.403179$6l.233218@pd7tw2no>, si**********@shaw.ca
enlightened us with...

firefox doesn't like my style,


Firefox users set their own style. IE users can, too, once they realize
"accessibility" isn't just about having a disability.

--
--
~kaeli~
Abdicate (v.), to give up all hope of ever having a flat
stomach.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #10
Lee wrote:
Simon Wigzell said:
<snip>

I don't think I can do this with CSS:
http://www.mississippiprinting.com/E...ilTemplate.htm

That actually looks pretty bad in FireFox, so I imagine it would
also look bad in Thunderbird and possibly other email clients.


Yup. Never, ever mix bitmapped graphics and text.

---
John W. Kennedy
"Sweet, was Christ crucified to create this chat?"
-- Charles Williams. "Judgement at Chelmsford"
Jul 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6887
by: Leila | last post by:
Hi, I am having a problem retrieving the html tags from my XML document when it's being loaded into a DOM object. For example, my xml contains the following: <my:InsideView> .. ..
7
21323
by: NotGiven | last post by:
I have a field called telephone whose ONBLUR action is to call a javascript function: validatePhoneNumber(telephone) The non-working function is: function validatePhoneNumber(v) { var phone...
8
2991
by: Prometheus Research | last post by:
http://newyork.craigslist.org/eng/34043771.html We need a JavaScript component which will auto-submit a form after a set period has elapsed. The component must display a counter that dynamically...
13
2392
by: s_m_b | last post by:
I'm building a suite of online forms for insurance. These have been stripped down from messy MS Word templates, and two of the six, substantially identical, are misbehaving with the .js page that...
4
4854
by: Christine Forber | last post by:
I wonder if anyone knows of some javascript code to check a comma-delimited list of email addresses for basic formating. What I'm looking for is the javascript code to check a form field on form...
37
3515
by: pochartrand | last post by:
Hello, Is there a way to manipulate or at least read the pseudo-class of an element ? I know the style attribute can be accessed and gives the CSS properties for a particular element....
7
1803
by: Steve | last post by:
hello, i need to send emails ( HTML emails ) that have javascript processing kept enabled when they reach their destination.i tried but seems everything related to javascript ( events, keywords...
3
1066
by: Daniel | last post by:
Hi, at the moment I'm working on my diploma thesis, my topic is HTML-Code in emails. I should try to hide javascript- or html-code in an email so that the addressee is not able to see it - the...
5
2624
by: ghjk | last post by:
I have a web site with several web pages. They are having different number of variables. eg: first page having 4 variables in the form(Name, Phone, ID, Gender) second page having 10 variables in the...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.