Javascript in emails being stripped

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Wigzell

    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.


  • John W. Kennedy

    #2
    Re: Javascript in emails being stripped

    Simon Wigzell wrote:[color=blue]
    > 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...[/color]

    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"

    Comment

    • kaeli

      #3
      Re: Javascript in emails being stripped

      In article <LRqQd.398488$8 l.19639@pd7tw1n o>, simonwigzell@sh aw.ca enlightened
      us with...[color=blue]
      > 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?[/color]


      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.
      [color=blue]
      > Should we just forget about embedding fancy javascript
      > effects in our promotional emails?[/color]

      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.



      Comment

      • Simon Wigzell

        #4
        Re: Javascript in emails being stripped

        <snip>

        I don't think I can do this with CSS:



        Comment

        • Lee

          #5
          Re: Javascript in emails being stripped

          Simon Wigzell said:[color=blue]
          >
          ><snip>
          >
          >I don't think I can do this with CSS:
          >http://www.mississippiprinting.com/E...ilTemplate.htm[/color]

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

          Comment

          • Simon Wigzell

            #6
            Re: Javascript in emails being stripped


            "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
            news:cutpb901sr l@drn.newsguy.c om...[color=blue]
            > Simon Wigzell said:[color=green]
            >>
            >><snip>
            >>
            >>I don't think I can do this with CSS:
            >>http://www.mississippiprinting.com/E...ilTemplate.htm[/color]
            >
            > That actually looks pretty bad in FireFox, so I imagine it would
            > also look bad in Thunderbird and possibly other email clients.
            >[/color]
            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.


            Comment

            • RobB

              #7
              Re: Javascript in emails being stripped

              Simon Wigzell wrote:[color=blue]
              > "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
              > news:cutpb901sr l@drn.newsguy.c om...[color=green]
              > > Simon Wigzell said:[color=darkred]
              > >>
              > >><snip>
              > >>
              > >>I don't think I can do this with CSS:
              > >>http://www.mississippiprinting.com/E...ilTemplate.htm[/color]
              > >
              > > That actually looks pretty bad in FireFox, so I imagine it would
              > > also look bad in Thunderbird and possibly other email clients.
              > >[/color]
              > 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;[/color]
              align:center;[color=blue]
              > color:#FFFF00;}
              > </style>
              >
              > The sub menu text should be quite small and fit inside the green[/color]
              area,[color=blue]
              > firfox is showing it large...SW stands for Small White, BY stands for[/color]
              Big[color=blue]
              > Yellow.[/color]

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

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

              Comment

              • rf

                #8
                Re: Javascript in emails being stripped

                "Simon Wigzell" <simonwigzell@s haw.ca> wrote[color=blue]
                >
                > 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;[/color]
                align:center;[color=blue]
                > color:#FFFF00;}
                > </style>[/color]

                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.
                [color=blue]
                > The sub menu text should be quite small and fit inside the green area,[/color]

                Won't happen. Not with firefox. Not with any non IE browser. Not with any
                none microsoft mail client either I suspect.


                Comment

                • Mark Preston

                  #9
                  Re: Javascript in emails being stripped

                  Simon Wigzell wrote:
                  [color=blue]
                  > A client of mine has long used HTML format emails ... Is this to be a
                  > growing trend?
                  >[/color]
                  Not so much a "growing trend" as almost universal. You are wasting your
                  time doing it.

                  Comment

                  • kaeli

                    #10
                    Re: Javascript in emails being stripped

                    In article <ATyQd.403179$6 l.233218@pd7tw2 no>, simonwigzell@sh aw.ca
                    enlightened us with...[color=blue][color=green]
                    > >[/color]
                    > firefox doesn't like my style,[/color]

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

                    --
                    --
                    ~kaeli~
                    Abdicate (v.), to give up all hope of ever having a flat
                    stomach.



                    Comment

                    • John W. Kennedy

                      #11
                      Re: Javascript in emails being stripped

                      Lee wrote:[color=blue]
                      > Simon Wigzell said:
                      >[color=green]
                      >><snip>
                      >>
                      >>I don't think I can do this with CSS:
                      >>http://www.mississippiprinting.com/E...ilTemplate.htm[/color]
                      >
                      >
                      > That actually looks pretty bad in FireFox, so I imagine it would
                      > also look bad in Thunderbird and possibly other email clients.
                      >[/color]

                      Yup. Never, ever mix bitmapped graphics and text.

                      ---
                      John W. Kennedy
                      "Sweet, was Christ crucified to create this chat?"
                      -- Charles Williams. "Judgement at Chelmsford"

                      Comment

                      Working...