LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-20-2015, 04:17 AM   #1
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 311
Blog Entries: 2

Rep: Reputation: 16
Thumbs down Firefox coerces users to auto-play video advertisement


My netbook becomes extremely inefficient when encountering auto-play video advertisements on the internet. I am on Lubuntu 14.04 using firefox 37.0.1 (Mozilla Firefox for Ubuntu | canonical 1.0), and I don't even have flash installed in the first place, plus I then went into Synaptic Package Manager, and flash is not installed. I followed every online self-help, and in all made the following changes:

1) Menu Bar | Tools | Add-ons All video-> Never Activate
2) about:config
Code:
plugins.click_to_play  true http://www.pcadvisor.co.uk/how-to/internet/3497991/how-stop-autoplaying-ads-videos-media-on-web-pages/
media.autoplay.enabled false https://support.mozilla.org/en-US/questions/961940
media.autoplay.enabled    false
media.play-stand-alone    false
plugin.disable_full_page_plugin_for_types   application
plugin.state.gecko-mediaplayer  0
plugin.state.gecko-mediaplayer-dvx  0
plugin.state.gecko-mediaplayer-qt  0
plugin.state.gecko-mediaplayer-rm  0
plugin.state.gecko-mediaplayer-wmp 0
layers.async-video-oop.enabled   false
layers.async-video.enabled    false
media.navigator.video.enabled    false
media.peerconnection.video.enabled  false
media.video_stats.enabled    false
plugin.disable_full_page_plugin_for_types app
media.cache_readahead_limit;9999
media.cache_resume_threshold;9999
media.encoder.webm.enabled;false
media.getusermedia.aec_enabled;false
media.getusermedia.agc;0
media.getusermedia.browser.enabled;false
media.getusermedia.screensharing.enabled;false
media.gmp-eme-adobe.hidden;false
media.gmp-manager.cert.checkAttributes;false
media.gmp-manager.cert.requireBuiltIn;false
media.gmp-provider.enabled;false
media.gstreamer.enable-blacklist;false
media.gstreamer.enabled;false
media.mediasource.webm.enabled;false
media.mediasource.youtubeonly;false
media.navigator.enabled;false
media.navigator.load_adapt;false
media.ogg.enabled;false
media.opus.enabled;false
media.raw.enabled;false
media.wave.enabled;false
media.webm.enabled;false
media.webvtt.enabled;false
places.database.lastMaintenance;14294
converter.html2txt.structs;false
html5.offmainthread;false
Moreover, 50% of the online tutorial say to set "plugins.click_to_play" to "true" and others say set to false. Thus I tried both and NONE worked for https://login.yahoo.com/(Tommy Hilfiger) The annoying video advertisement always plays on the left half of the screen and my netbook becomes unusable.
Besides poor efficiency, users like me use linux because of values and ideals, and forcing users to auto-play video advertisements is in strong opposition to freedom.
I also checked this same site for midori and chromium, and they too fall victim to this auto-play scam. Any solutions?

BOYCOTT TOMMY HILFIGER!!!!!

Andrew
 
Old 04-20-2015, 05:29 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
I use flashblock on Firefox, which also blocks html video.
 
2 members found this post helpful.
Old 04-20-2015, 06:13 AM   #3
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 311

Original Poster
Blog Entries: 2

Rep: Reputation: 16
Lightbulb

Thank-you JPollard! Finally I installed Flashblock 1.5.18 and wala! The page loads but only displays the picture, and then it doesn't play the ensuing video. So basically this solves the problem: How to block auto-play video advertisements and be a productive citizen.

Unanswered Questions:
1) Why if I didn't have flash installed in the first place does flashblock 1.5.18 take effect?
2) Is there anyway of disabling autoplay in firefox without bloating up my system by installing extra firefox add-ons?

Andrew

Last edited by andrew.comly; 04-20-2015 at 06:14 AM.
 
Old 04-20-2015, 06:39 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by andrew.comly View Post
Thank-you JPollard! Finally I installed Flashblock 1.5.18 and wala! The page loads but only displays the picture, and then it doesn't play the ensuing video. So basically this solves the problem: How to block auto-play video advertisements and be a productive citizen.

Unanswered Questions:
1) Why if I didn't have flash installed in the first place does flashblock 1.5.18 take effect?
flashblock is written in javascript - and gets to capture HTML video even though it isn't using flash.
Quote:
2) Is there anyway of disabling autoplay in firefox without bloating up my system by installing extra firefox add-ons?

Andrew
I don't know about #2 as it only seems to be blocked by external means. This is likely because HTML video is a "builtin" function of html rather than an externally added capability (such as javascript or flash). I think flashblock works by parsing for "<video>" tags (required for HTML video) and makes an inline substitution as it is passed to the interpreter, but not having dug into it, I don't know for certain.
 
1 members found this post helpful.
Old 04-20-2015, 01:33 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Have you encountered the NoScript addon?

Does exactly what it says on the tin - no javascript, no java, no flash, no malicious scripts on dodgy web pages spamming your mates, etc.

You have to allow them on sites you want. Try it.
 
3 members found this post helpful.
Old 04-20-2015, 01:41 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
Go here, install and enjoy the ensuing peace and quiet...

I don't know if it actually works for your specific case, but it sure stops most of the junk on sites I visit and even blocks those annoying embedded ads in youtube videos.

Highly recommended!
 
1 members found this post helpful.
Old 04-20-2015, 03:54 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i've been using a hostsblock script:
http://gaenserich.github.io/hostsblock/
and it takes care of youtube video ads, too. yay.
 
1 members found this post helpful.
Old 04-20-2015, 04:45 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi Andrew...

Interesting thread. I'm running the same version of Lubuntu on my laptop and I think the same version of Firefox but I never had the problem you mentioned, probably because I usually install Adblock Plus very soon after I install the browser.

Regards...
 
1 members found this post helpful.
Old 05-04-2015, 06:15 PM   #9
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
I second noscript too. Pages load faster without additional junk. And you can enable javascript on a site by site basis for those which don't run without it.
 
Old 05-10-2015, 09:43 PM   #10
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 311

Original Poster
Blog Entries: 2

Rep: Reputation: 16
Smile ADP and scripts can solve this problem.

Advark71 & DJShaji,

Yes, recently I have been using AdBlock Plus 2.6.9 and flashblock 1.5.18 and it works really well, but before I used noscripts and that worked really well too.

Originally I thought since linux is minimalist that you wouldn't need add-ons since you should be free (freedom free not $ that 'free') to disable these things(flash, scripts and html5), thus keeping RAM load/HDD space for programs to a minimal. This was my misconception, which I am now clear on.
 
Old 05-11-2015, 02:30 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by andrew.comly View Post
Originally I thought since linux is minimalist that you wouldn't need add-ons since you should be free (freedom free not $ that 'free') to disable these things(flash, scripts and html5), thus keeping RAM load/HDD space for programs to a minimal. This was my misconception, which I am now clear on.
...and it is your misconception again, because you are free to use a browser with a much more minimalist approach.
dwb comes to mind.
and again, blocking domains via /etc/hosts (as i suggested in my previous post) is the most minimalist approach. it's also systemwide, not restricted to your browser.

so, linux can be anything you like, minimalist or not.
firefox is not minimalist (it's still a good browser imo).
try dwb.

Last edited by ondoho; 05-11-2015 at 02:31 PM.
 
Old 05-28-2015, 01:09 PM   #12
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by astrogeek View Post
...
It really is all about FREEDOM.
...
{commentary}
"Freedom" and "Liberty" are two distinct experiences.
Your own quote from Cowper, speaks of LIBERTY.

I am FREE to swing my arms.
I do not have LIBERTY to swing my arms if they might impact your person.

I am FREE to speak whatever I wish.
I do not have LIBERTY to speak the alarm of "fire" as jest in a crowded room.

The US founding documents name "life, LIBERTY, and the pursuit of happiness". To substitute FREEDOM for LIBERTY is to encourage anarchy.
{/commentary}

Last edited by SaintDanBert; 05-28-2015 at 01:11 PM.
 
Old 05-28-2015, 07:35 PM   #13
andrew.comly
Member
 
Registered: Dec 2012
Distribution: Trisquel-Mini 7.0, Lubuntu 14.04, Debian lxde 8.0
Posts: 311

Original Poster
Blog Entries: 2

Rep: Reputation: 16
Talking

Quote:
I am FREE to swing my arms.
I do not have LIBERTY to swing my arms if they might impact your person.
My application of the above principle:

. Tommy Hilfiger is FREE to create software/media web applications to give all of us the feeling he had in mind when creating a certain fashion genre, even when it brings computers with lower specifications to a halt.

. HOWEVER, he does not have the LIBERTY to implement such applications in such a way that may negatively impact the productivity levels of the human race.
 
Old 05-28-2015, 08:36 PM   #14
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by andrew.comly View Post
My application of the above principle:

. Tommy Hilfiger is FREE to create software/media web applications to give all of us the feeling he had in mind when creating a certain fashion genre, even when it brings computers with lower specifications to a halt.

. HOWEVER, he does not have the LIBERTY to implement such applications in such a way that may negatively impact the productivity levels of the human race.
Actually, that doesn't make sense.

He does have the freedom and liberty to implement such applications in such a way that may negatively impact the productivity levels of the human race.... But he does NOT have the liberty to force you to use them...
 
Old 05-28-2015, 10:34 PM   #15
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
This site may be useful
https://help.riseup.net/en/better-web-browsing

Privacy and security seem to go hand in hand with reducing irrelevant content.

I use all three (HTTPS Everywhere, Ublock, Privacy Badger) + no-script and I haven't had a issue in a long time (except for noscript when the site completely breaks without scripts)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox / Flash Player problem: Online video will play only audio, video is white. NOoBuntuLinux Linux - Software 1 03-28-2009 12:57 AM
Prevent firefox auto playing video/audio linuxer12 Linux - Desktop 4 02-01-2007 09:02 AM
Firefox Will Not Play Yahoo Video ImOk Linux - Software 3 09-03-2006 03:20 PM
Cannot play any kind of video through firefox Penguin of Wonder Ubuntu 4 02-20-2006 09:43 AM
LXer: Firefox Auto-Upgrade Users Become Surprise Beta Testers LXer Syndicated Linux News 0 01-25-2006 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration