Author Topic: Flash Animation Killer  (Read 3784 times)

seeker1

  • Newbie
  • *
  • Posts: 19
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Flash Animation Killer
« on: August 22, 2002, 05:16:00 PM »
A fellow Opera forum member was looking for a way to turn off flash animation on a webpage, because of CPU utilization.  I thought that this could most easily be done using Proxo's "Flash Animation Killer", but it didn't work on this site:

http://www.knoop.nl/test/seti/

The image in question is the windmill in the upper left corner of the page.  This can be turned off by disabling all of Opera's Plugins or reduced by selecting Quality>Low, from the images right click menu, but it would work best if Proxo could handle it.  Can it?

"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><
"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Flash Animation Killer
« Reply #1 on: August 22, 2002, 06:40:44 PM »
Hi,

I can't see any flash there

Check the page, the windmill in question is an animated GIF image -- which can be killed by Opera's F12 - 'Enable GIF animation' toggle.

Regardless, this filter of mine kills all flash animations:

Flash & Sound killer

I use Opera only, and never see a Flash file I don't want to.



Edited by - Jor on 22 Aug 2002  19:41:50
 

seeker1

  • Newbie
  • *
  • Posts: 19
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Flash Animation Killer
« Reply #2 on: August 23, 2002, 11:55:29 PM »
Hi Jor,

I'm curious, when I right click the windmill, I get a Macromedia Flash Player 6 options dialog, rather than context menu offering normal image options.  Doesn't this identify this as Flash?  I guess that the mail notification for this forum doesn't work, so I just found your reply, in the meantime another Opera member offered me a filter of his own design (I guess), which seems to work, but it requires that Opera's caches be cleared to change from enabled to disabled (or visa versa).  Perhaps you would take a look at it and tell me what you think.

http://my.opera.com/forums/showthread.php?s=&threadid=3910&perpage=5&pagenumber=2

P.S.  Neither Opera's nor Proxo's "Freeze GIF animation" seem to have any effect on this with my machine.

"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><

Edited by - seeker1 on 24 Aug 2002  01:03:50
"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Flash Animation Killer
« Reply #3 on: August 24, 2002, 12:10:58 AM »
Pretty weird... for me it's an animated GIF, http://www.knoop.nl/test/seti/wieken.gif

Anyway that filter does work.

The reason for clearing your cache, is that otherwise Prox will probably never come into play, as Opera will display the cached version of the page instead. It is not required for the filter itself.

 
 

JD5000

  • Full Member
  • ***
  • Posts: 241
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://home.satx.rr.com/jd5000/
    • Email
Flash Animation Killer
« Reply #4 on: August 24, 2002, 12:11:48 AM »
Hiya seeker1,

The code that's calling the flash animation, is in a JS file. So, change "$TYPE(htm)" to "($TYPE(htm)|$TYPE(js))".

~HTH

--------
Infopros Joint :: Computer Related Links And Discussion


Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Flash Animation Killer
« Reply #6 on: August 24, 2002, 12:24:31 AM »
Mystery solved!

This flash file is written by a Javascript, http://www.knoop.nl/test/seti/js/flash-seti.js

Try this filter (not tested):

Name = "Convert Flash animations to links"
Active = FALSE
URL = "($TYPE(htm)|$TYPE(js)) & (^$LST(AllowFlash))"
Bounds = "$NEST(<object,</object>)|<embeds*>"
Limit = 1024
Match = "<1s*(shockwave|macromedia|flash|swf)*&"
        "(*(src=$AV(2)|"
        "*<param name=$AV(movie) value=$AV(2) >)*)"
Replace = "<a href="2" class="flash" class="proxlink"> 2</a>"


I think this should do the trick.

 
 

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Flash Animation Killer
« Reply #7 on: August 24, 2002, 12:25:58 AM »
*L* JD, see you found it while I was typing it myself.

In my case, some other filter must be killing it. (I think start.js fools the browser sniffing)



Edited by - Jor on 24 Aug 2002  01:27:06
 

JD5000

  • Full Member
  • ***
  • Posts: 241
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://home.satx.rr.com/jd5000/
    • Email
Flash Animation Killer
« Reply #8 on: August 24, 2002, 12:40:00 AM »

seeker1

  • Newbie
  • *
  • Posts: 19
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Flash Animation Killer
« Reply #9 on: August 24, 2002, 02:07:29 AM »
Great!  I give this a shot, but I prefer to choose the websites to include in the filter list, rather than those to exclude, so if I modify the list portion of the following line, will this work okay?

URL = "($TYPE(htm)|$TYPE(js)) & ($LST(Filter Flash))

Thanks for the help.

"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><
"Let every man be swift to hear, slow to speak, slow to wrath"

James 1:19 <><