Slashdot Mirror


Disabling Flash in the Browser?

fishdan asks: "I know there are a few tools for selectively disabling flash in IE, but there is currently nothing in Mozilla. I'm wondering how many people have just removed Flash (as I have) by deleting the appropriate files? I find it greatly enhances my web experience, and on the very few cases when i think there is something worth seeing in Flash, I'll check it out on someone else's computer. I know someone is working on a 'disable flash from this site' for Moz X.x.x, but I'm wondering what people are doing now? I'm also actively advising people I know to remove Flash because of the lack of control for it on the users end. Short of deleting Flash, there's nothing uses can do to to stop those irritating ads. I don't mind the moderate ones, but the excessive ads are enough for me to throw the baby out with the bath-water."

31 of 54 comments (clear)

  1. Just disable it by itwerx · · Score: 5, Informative

    Under the applications screen in your preferences. Flash is listed along with every other file that uses an external app. Just delete the association completely or edit the properties to prompt before running.

    Am I missing something here?

    1. Re:Just disable it by zeenixus · · Score: 2

      the only thing in my 'helper applications' is 'text/html'.

      linux mozilla, 1.01, 1.1, 1.2b (or not too be?)

      --
      In Bob we trust.
  2. "I find it greatly enhances my web experience" by tswinzig · · Score: 5, Insightful

    Funny, that's what Macromedia told me to get me to INSTALL flash!

    To answer your question: yes I deleted flash. When I need to see something done in flash, I load up MSIE. (Hell, it's already loaded in memory anyway, might as well use it for something.)

    I am of the opinion that the annoying flash ads are going to be what eventually "does-in" Flash. As soon as Mozilla makes it easy to deal with it -- and it will if people want that -- then say goodbye to our annoying, animated friend.

    --

    "And like that ... he's gone."
  3. File me under flizame by JohnLi · · Score: 5, Funny

    Just use Lynx. That way you don't have to put up with those pesky "graphics" either. Plus, it probably runs like a champ on your 386. :) doh.

    --
    The / in /. would be more accurate if it leaned to the left. http://www.metricnut.com
    1. Re:File me under flizame by toast0 · · Score: 2

      if you're going to be all text-based, you might as well use something that supports tables well, such as w3m.

      w3m also supports turning frames into tables (which it can then render)

  4. Junkbuster? by J'raxis · · Score: 5, Informative
    If you use JunkBuster, add this to the blockfile:

    /*.*\.swf

  5. The same thing I have been doing with banner ads by one9nine · · Score: 2
    Finding out the domain where the Flash is coming from then blocking it in my host file (i.e. 0.0.0.0 ads.doubleclick.com) Certainly not foolproof and it does take a little bit of work on your part but it usually works pretty good on sites I frequently visit.

    One big disadvantage though is that if the Flash ad is coming from the same domain you want to visit, you can't block it or you won't be able to view the site.

    You could also download a proxy to run on your machine and set it up to block Flash or specific URLs that point to a Flash ad. Again, this my be more work than you want to do.

  6. Here's my solution by hawkstone · · Score: 5, Informative

    I completely agree. I hate flash. I didn't install it for the longest time, but there's just too much out there, so I gave in.

    However, I have a solution. I found these wonderful little "bookmarklets" that work in mozilla. Find them here.

    They are little javascript things that remove annoyances from pages, including blink text, javascript, embedded event handles, and even colored backgrounds and text, and background music.

    The one you want is called "zap embeds". It will kill all flash from the page you are looking at, leaving almost everything else intact. You can also use the vanilla "zap" which zaps Flash and some other stuff.

    I personally put a few of these in my personal toolbar. It's the first good use I found for that toolbar. Thus, one click away from killing flash on any page!

    IMHO, the perfect solution. Whoever wrote these is my saviour. Everyone should get these. :)

  7. Removed the library by Chacham · · Score: 2, Informative

    Just like you, I removed the library file. However, if you'd like to turn it on and off, I'd suggest a simple solution. Rename the library (maybe libflash.so ?). Then, when you find a page where you want it to work, add a symlink to the library.

    After I removed the file, I found that in most cases I didn't want or need it. If the few cases where I did, I just used netscape instead of my uisual mozila.

  8. Ad Blocker by madajb · · Score: 2

    Personally, I don't bother. I just use one of
    the many ad-blockers out there.
    Proxomitron in my case.
    It intercepts the flash, and replaces it with a hyperlink. Makes it easy in the rare event I need to view the flash (some online catalogs, the occasional game, etc.).

    And before anyone bitches, I don't block all ads, just the annoying ones, so I'm not taking advantage of a "free lunch". I can see the OSDN Self Serve Ad System banner just fine.

  9. Ever try to administrate "easy" routers with Lynx? by satch89450 · · Score: 2

    I had the misfortune to try to administrate a DLink DI-614+ using Lynx, and couldn't do it. Indeed, I defy anyone to do it exclusively with ANY text-based browser.

    Indeed, I suspect (but haven't tried it yet) that every Web-controlled network device can't be administrated in Lynx or any other text-only browser.

    Just my pair-o-pennies(tm),

  10. Privoxy by Anonymous Coward · · Score: 2, Informative

    www.privoxy.org

    Privoxy will disable Flash. It will also let you add sites to a whitelist for the few sites that you do want to see flash on.

  11. Re:Ever try to administrate "easy" routers with Ly by CableModemSniper · · Score: 2, Informative

    my Linksys 4-port Cable/DSL router is easily admindistered with links. Go linksys!

    --
    Why not fork?
  12. Homsar! by TheDanish · · Score: 2, Interesting

    What? And miss out on Homestar Runner, and, more importantly, Strong Bad e-mails? You're nuts.

    Personally, the last time I tried to install Mozilla, I had a harder time getting Flash ON it.

    No, I have nothing useful to contribute to this discussion. Carry on.

    --
    Danish != nationality
  13. This involves a restart but by jon787 · · Score: 3, Informative

    I have a script that moves the flash plugins in and out of the mozilla plugin directory

    --
    X(7): A program for managing terminal windows. See also screen(1).
  14. How to uninstall the Macromedia Flash Player plug- by burnsy · · Score: 2, Informative

    How to uninstall the Macromedia Flash Player plug-in and ActiveX control

    To manually uninstall the Macromedia Flash Player plug-in (Other browsers, Macintosh and Windows)

    1 Quit the browser.

    2 Locate the browser application folder on your hard drive.

    3 Locate the Plug-ins folder inside the browser application folder.

    For example, C:\Program Files\Netscape\plugins\ (Windows), HD:Applications:Netscape:Plugins (Macintosh), or /usr/bin/Netscape/plugins/ (Linux or Solaris).

    The exact location of plug-ins folder may vary depending on platform/browser.

    4 Locate the Macromedia Flash Player plug-in:
    On Windows, the plug-in is named NPSWF32.dll.
    On Macintosh, it is called Shockwave-Flash-NP-PPC or Shockwave-Flash-NP-68.

    On Linux and Solaris the Macromedia Flash Player consists of two files: libflashplayer.so and ShockwaveFlash.class.

    5 Delete the plug-in file.

    6 Restart the browser.

  15. Re:why the animosity by orthogonal · · Score: 2

    why do you guys hate flash?

    Check out washingtonpost.com: animated ads, including one from Mervis Diamonds that "breaks out" of the ad banner to obscure the article you're reading, when it first loads. Or the furniture ad that plays link a movie, making it annoyingly hard to read the article.

    Get Proxomitron, and filter it out. Find or write a filter to replace it with a link.

  16. Re:why the animosity by gl4ss · · Score: 2

    -666 annoying.

    flash makes it too easy for mr. x to open up large ads, or other totally annoying ads, over the whole goddamn page, or do just about anything else on your computer too.

    sure, it's 'handy' and 'easy'. but it's basically useless extra weight that more and more web-developers except to find on users computer, even though they don't even need it for their site. what good are some cyber motorbikes zooming around in a intro to motherboard manufacturers page? (why it's useless extra weight? most of the things that can be done with it can be done otherwise, especially what comes to the stupid ads, except then they would have to behave). more and more and more flash is used making the pages unreadable by trying to be intuitive, except that most of the time's nothing describes a link with content of bios updates better than "bios updates", or then the web-dev is just too ignorant that having 500kb of extra weight on basically 30kb page isn't that smart(now, i'm on a 100mbit-univ line so it doesn't really matter to me that much but it still takes extra minute or two to get past those flashy intros and find the real content.).

    only good 'content' i've seen done with flash are the occasional humorous web-cartoons.

    and it's been around, what, 4 years? imagine mozilla still trying to make back button working.

    --
    world was created 5 seconds before this post as it is.
  17. Cascading Style Sheets by MSittig · · Score: 5, Informative
    Harness the power of CSS. In your Mozilla profile folder, insert the following code into the userContent.css file:
    embed[type="application/x-shockwave-flash"] {
    display: none !important;
    visibility: hidden !important;
    }
    This should instruct Mozilla not to load any Flash objects. Bingo.

    Taken from this thread in Mozillazine.

    -ms
  18. Re:why the animosity by splattertrousers · · Score: 2
    why do you guys hate flash?

    1. Because flash "artists" don't understand animation. They make you waste your time waiting for text to zoom across the screen and for images to slowly scale and for slow fades. That might work for TV viewers sitting on a couch, but someone sitting at a computer doesn't want to wait around.

    2. Because I don't want to see animated ads, and I don't want to hear ads either. Flash doesn't provide pause and mute controls, so I don't use Flash.

  19. I use two browsers by splattertrousers · · Score: 2

    I use two browsers: Mozilla for everyday browsing, and I fire up IE if I go to a site that requires Flash, Java, or JavaScript (and only if I trust the site and feel that viewing the site is worth the trouble).

  20. Flash hogs /dev/dsp by Spacelord · · Score: 2, Interesting

    For me, the most annoying thing about Flash ads is that they lock up Mozilla if something else is using the sound device. (for example if I'm playing mp3s in xmms) Mozilla will just hang until I free the sound device, no matter if the flash ad is really using sound or not.

  21. Re:Ummm by ProfessorPuke · · Score: 4, Insightful

    He's asking for a more balanced, flexible solution than a big boolean "Install Flash (yes/no)".

    Two big problems with your "just don't install it advice"

    0. If Flash isn't installed, then every time mozilla opens a page with embedded SWF files you get a dialog box "Click here to install the plugin". A painful interference, one that can happen several times per page if they are heavy on the Flash banner + Flash navbar + Flash mouseover miniad.

    1. Most Flash is for ads, but some sites present their actual content in Flash (web-cartoons), and many more work it into the intro-page or navigational frame so that Flash becomes a barrier to reaching the content. In both those cases, you'd desire a toggle-switch to quickly enable/disable Flash depending on whether you need to see it at the moment.
    (The zap-embeds bookmarklet trick is good, but not quite optimal)

  22. Re:why the animosity by dhall · · Score: 2, Insightful

    Flash won't let me middle mouseclick / control mouseclick to open up the appropriate link in another tab.

    Some of us are STILL on modem, since we're over 17500 distance from a CO, and the only available broadband is iDSL at over $100 / month.

    It's pathetic when ads are the majority of the bandwidth from a webpage. Websites like ESPN and CNN have become quite simply obnoxious. Some flash is good, "AdFlash" is just annoying.

  23. Disable plugins, User CSS.. by Fweeky · · Score: 2

    In Opera I just hit F12 p to disable plugins. Not great if you actually use other plugins, but it's easy enough to enable when you need it; otherwise just remove or redirect the swf MIME type entries in whatever browser you're using.

    Someone posted some CSS which should work in Gecko based clients and Opera (and probably others); just add it to your user stylesheet (Prefs -> Page Style -> My Style Sheet in Opera, userContent.css in your profile dir in Mozilla).

    You can use user CSS to kill a lot of other web based spam too - e.g. my anti-banner.css nukes, you guessed it, banners. Opera still loads the banners with this, so it's a good choice if you want to support sites but don't want to see the spam :)

  24. Why hate Flash? by obi · · Score: 2

    I've been using Flash for a while now, and there's quite a few things I like about it.

    Its programming language has evolved to something pretty nice these days. I find it a lot easier to seperate the frontend and the backend using flash than using html. (html/php mixes too much code and look, and PHP->XML->XSLT->HTML is ridiculous, and buys you very little. The only thing that kindof works is relatively simple templates)

    The only thing I don't like about it, is that it doesn't "gracefully degrade", I mean it's still too hard to expose the structure/content/flow like you can with html.

    On the other hand, if I try to do everything by the book using standard xhtml/css/js, for the more complicated things I spend ages getting things to look/react right in the different browsers I want to support (IE Mac&Windows>5, Mozilla, ...)

    The fact that Flash is completely vector based is also a major asset, now that there's such a wide range of resolutions in use. (everything between 800x600 and 1600x1200 is extremely common - if I create fixed-pixel content for 800x600 I can guarantee you it'll look too small in 1600x1200)

    If I compare html and flash on features and general usability, I'd score both almost evenly: they both have things going for them. As long as I need to create simple information based sites, I use html. The minute I need to make something more complicated like a "web app" I use Flash.

  25. Disabling Flash on Mac OS X by jpkunst · · Score: 3, Interesting

    I went to /Library/Internet Plugins/ in the Terminal, and issued this command:

    chmod 600 Shockwave\ Flash\ NP-PPC

    Now the web browser is no longer allowed to access the Flash plugin. Simple, and good enough for me.

    JP

  26. For windows users... by jafuser · · Score: 2
    I created two shortcuts, and put them in my "Links" bar in IE.

    Flash Off:

    C:\WINNT\SYSTEM32\regsvr32.exe C:\WinNT\System32\Macromed\Flash\swflash.ocx /u /s
    Flash On:
    C:\WINNT\SYSTEM32\regsvr32.exe C:\WinNT\System32\Macromed\Flash\swflash.ocx /s

    You'll need to adjust your paths to fit your system...

    --
    Please consider making an automatic monthly recurring donation to the EFF
    1. Re:For windows users... by phorm · · Score: 2

      You think that's bad? Try setting cookies to "confirm." It's scary when I see the amount of requests that were automatically going through, but it's super-annoying trying to manually check them all.

      Using the scripts that nuke flash content (and it's easy to turn on/off) then you wouldn't have to worry about this.
      At a previous job we had a proxy that pre-processed the HTML and stripped out the flash embed tags. Perhaps there's a way to run this locally and turn the flash nukage on/off according to need, but otherwise I built-in browser script or CSS works.

  27. Re:browsing in 1600x1200 resolution by obi · · Score: 2

    No,

    you don't need to browse a site fullscreen to want to scale it if you're using 1600x1200.

    If you are using such high resolutions, tell me you never increased the font size in your favourite browser (zoom in galeon, the big "+/-" in Mac IE, the "text size" in Win IE etc) The mere existence of these easily acessible buttons should tell you something.

    The problem is that once you start scaling it, the whole site kind of breaks because everyone is measuring in pixels, using unscaled bitmaps (gifs/jpgs), tables with fixed pixel widths etc.

    If you're really careful, you can make html sites that can scale properly (using em's as units for instance, and making even the pictures scale), But it's an order of magnitude harder, and you don't get any guarantees that the browser will actually render it properly.

    Try it.