How can I block popup videos on foxnews.com? - Mozilla ...

文章推薦指數: 80 %
投票人數:10人

Go to the Mozilla Add-ons Web Page {web Link} (There's a lot of good stuff here) and search for a good ad blocker. Skiptomaincontent Switchlanguage Skiptosearch SearchSupport Пребарај Дома SupportForums Firefox HowcanIblockpopupvideosonfoxnews.com? Пребарај QuestionTools Getemailupdates Getemailupdates whenanybodyreplies. whenasolutionisfound. Cancel Subscribetofeed Tags desktop Firefox67.0 foxnews notafirefoxproblem other popupvideos rolandff67thexperiment Windows10 QuestionDetails Product: Firefox Topic: Other SystemDetails: Windows10 Firefox67.0 Moresystemdetails AdditionalSystemDetails InstalledPlug-ins ShockwaveFlash32.0r0 Application UserAgent:Mozilla/5.0(WindowsNT10.0;Win64;x64;rv:67.0)Gecko/20100101Firefox/67.0 Seealso FirefoxwillnotplaymoviesonYouTube,Netflix,orMywebsitethroughWeebly.com,butSafariplaysthemfine...whatamimissing? Firefox24.5.0ESRwillnotplayWMP12.0.7601.17514inembeddedHTMLonmywebsite.Ihavethepluginactivated. onnetflix,clickingonmoviebringsupnfbrowserinstead.worksfineonI.E FirefoxPageInfowindow TrackersandscriptsFirefoxblocksinEnhancedTrackingProtection AlloworblockmediaautoplayinFirefox Avoidsupportscams.Wewillneveraskyoutocallortextaphonenumberorsharepersonalinformation.Pleasereportsuspiciousactivityusingthe“ReportAbuse”option. LearnMore Thisthreadwasarchived. Pleaseaskanewquestionifyouneedhelp. HowcanIblockpopupvideosonfoxnews.com? 10 replies 1 hasthisproblem 457 views Lastreplyby cor-el 2yearsago stevejq 4.6.1909:16 moreoptions Quote HowcanIblockvideopopupsonthefoxnews.comsite?Thepopupsoccupythelowerrightcornerofmyscreen,and,needlesstosay,areunwantedannoyances.Thefoxnews.comwebsiteisn'ttheonlyinternetnewssitethatdoesthis,I'mhopingthatwhateversettingshelpwiththeonesitewillhelpwithothers.Using67.0.1(64-bit)onaWindows10desktopcomputer.I'maFirefoxuser,notacomputerexpertbyanymeans. HowcanIblockvideopopupsonthefoxnews.comsite?Thepopupsoccupythelowerrightcornerofmyscreen,and,needlesstosay,areunwantedannoyances.Thefoxnews.comwebsiteisn'ttheonlyinternetnewssitethatdoesthis,I'mhopingthatwhateversettingshelpwiththeonesitewillhelpwithothers.Using67.0.1(64-bit)onaWindows10desktopcomputer.I'maFirefoxuser,notacomputerexpertbyanymeans. Chosensolution TrytoaddthistouserContent.css: @-moz-documentdomain(thehill.com){ div.player-container{display:none!important;} } Readthisanswerincontext 👍0 AllReplies(10) FredMcD Top10Contributor 4.6.1913:59 moreoptions Quote GototheMozillaAdd-onsWebPage{webLink} (There’salotofgoodstuffhere)andsearchfor agoodadblocker. Gotothe[https://addons.mozilla.org/en-US/firefox/MozillaAdd-onsWebPage]{webLink} (There’salotofgoodstuffhere)andsearchfor agoodadblocker. cor-el Top10Contributor Moderator 4.6.1914:18 moreoptions Quote YoucanlookattheuBlockOriginextension https://addons.mozilla.org/firefox/addon/ublock-origin/ YoucanlookattheuBlockOriginextension *https://addons.mozilla.org/firefox/addon/ublock-origin/ stevejq Questionowner 10.6.1912:21 moreoptions Quote Noluckwiththeseblockers: AdblockPlus uBlockOrigin PopupBlocker(strict) PopupBlockerUltimate PoperBlocker AdBlockforFirefox LookslikeIlearntolivewiththedistastefulpopupvideosorstopvisitingtheinternetnewssitesthatusethem.Thepopupvideosarenotadsbut,rather,newsstories.Iguessthesiteoperatorthinksreaderslikethepopups.Ifindthemannoying. Thanksfortheadvice. Noluckwiththeseblockers: AdblockPlus uBlockOrigin PopupBlocker(strict) PopupBlockerUltimate PoperBlocker AdBlockforFirefox LookslikeIlearntolivewiththedistastefulpopupvideosorstopvisitingtheinternetnewssitesthatusethem.Thepopupvideosarenotadsbut,rather,newsstories.Iguessthesiteoperatorthinksreaderslikethepopups.Ifindthemannoying. Thanksfortheadvice. cor-el Top10Contributor Moderator 10.6.1913:15 moreoptions Quote YoucanaddcodetotheuserContent.cssfileinthechromefolderintheprofilefolder. http://kb.mozillazine.org/userContent.css @-moz-documentdomain(foxnews.com){ .featured.featured-video.sticky-video.contain{ display:none!important; } } ItisnotthatdifficulttocreateuserContent.cssifyouhaveneverusedit. Thefirststepistoopenthe"Help->TroubleshootingInformation"pageandfindthebuttontoaccesstheprofilefolder. https://support.mozilla.org/en-US/kb/use-troubleshooting-information-page-fix-firefox Youcanfindthisbuttonunderthe"ApplicationBasics"sectionas"ProfileFolder->OpenFolder". IfyouclickthisbuttonthenyouopentheprofilefolderintheWindowsFileExplorer. Youneedtocreateafolderwiththenamechromeinthisfolder(nameisalllowercase). InthechromefolderyouneedtocreateatextfilewiththenameuserContent.css(nameiscasesensitive). InthisuserContent.csstextfileyoupastethetextposted. InWindowssavingthefileisusuallytheonlytimethingsgetmorecomplicatedbecauseWindowscansilentlyadda.txtfileextensionandyouendupwithafilenameduserContent.css.txt. Toavoidthisyouneedtomakesuretoselect"Allfiles"inthedialogtosavethefileinthetexteditorusing"SaveFileas". Youneedtoclose(Quit/Exit)andrestartFirefoxwhenyoucreateormodifytheuserContent.cssfile. YoucanaddcodetotheuserContent.cssfileinthechromefolderintheprofilefolder. *http://kb.mozillazine.org/userContent.css


@-moz-documentdomain(foxnews.com){
.featured.featured-video.sticky-video.contain{
display:none!important;
}
}
---- ItisnotthatdifficulttocreateuserContent.cssifyouhaveneverusedit. Thefirststepistoopenthe"Help->TroubleshootingInformation"pageandfindthebuttontoaccesstheprofilefolder. *https://support.mozilla.org/en-US/kb/use-troubleshooting-information-page-fix-firefox Youcanfindthisbuttonunderthe"ApplicationBasics"sectionas"ProfileFolder->OpenFolder". IfyouclickthisbuttonthenyouopentheprofilefolderintheWindowsFileExplorer. Youneedtocreateafolderwiththenamechromeinthisfolder(nameisalllowercase). InthechromefolderyouneedtocreateatextfilewiththenameuserContent.css(nameiscasesensitive). InthisuserContent.csstextfileyoupastethetextposted. InWindowssavingthefileisusuallytheonlytimethingsgetmorecomplicatedbecauseWindowscansilentlyadda.txtfileextensionandyouendupwithafilenameduserContent.css.txt. Toavoidthisyouneedtomakesuretoselect"Allfiles"inthedialogtosavethefileinthetexteditorusing"SaveFileas". Youneedtoclose(Quit/Exit)andrestartFirefoxwhenyoucreateormodifytheuserContent.cssfile. stevejq Questionowner 11.6.1917:46 moreoptions Quote Hellocor-el, Yourinstructionsaregreatanditappearstowork!I'vetriedanumberofscreensonfoxnews.comandnopopupvideos!Wonderful!! CanIusetheuserContent.cssfileforthesamepurposewithothersites?Forinstance,thehill.compresentsthesamevideopopupnuisance.HowwouldIaddthatsitetotheuserContent.cssfile? Thankyouagain! Hellocor-el, Yourinstructionsaregreatanditappearstowork!I'vetriedanumberofscreensonfoxnews.comandnopopupvideos!Wonderful!! CanIusetheuserContent.cssfileforthesamepurposewithothersites?Forinstance,thehill.compresentsthesamevideopopupnuisance.HowwouldIaddthatsitetotheuserContent.cssfile? Thankyouagain! cor-el Top10Contributor Moderator 12.6.1904:01 moreoptions Quote Ididn'tnoticeafloatingvideowindowonthatsitewhenIdidaquicktest. Canyoupostalinktoapubliclyaccessiblepage(i.e.noauthenticationorsigningonrequired)? YounormallyusetheInspectortogettheCSSselectoroftheoutermostcontainerandusethisselectortohidethecontainer. https://developer.mozilla.org/en-US/Tools/Page_Inspector https://developer.mozilla.org/en-US/Tools/Page_Inspector/How_to/Examine_and_edit_HTML Ididn'tnoticeafloatingvideowindowonthatsitewhenIdidaquicktest. Canyoupostalinktoapubliclyaccessiblepage(i.e.noauthenticationorsigningonrequired)? YounormallyusetheInspectortogettheCSSselectoroftheoutermostcontainerandusethisselectortohidethecontainer. *https://developer.mozilla.org/en-US/Tools/Page_Inspector *https://developer.mozilla.org/en-US/Tools/Page_Inspector/How_to/Examine_and_edit_HTML stevejq Questionowner 12.6.1910:28 moreoptions Quote Herearetwositesthathaveavideopopupasyouscrolldownthescreen.Andifyouscrollbackupthescreenthepopupsgoaway.Notallnewsarticlesonthehill.comhavepopupvideos. https://thehill.com/homenews/senate/448054-senators-clinch-votes-to-rebuke-trump-on-saudi-arms-sale https://thehill.com/homenews/administration/447936-trump-says-hes-received-new-letter-from-kim-jong-un Thankyou. Herearetwositesthathaveavideopopupasyouscrolldownthescreen.Andifyouscrollbackupthescreenthepopupsgoaway.Notallnewsarticlesonthehill.comhavepopupvideos. https://thehill.com/homenews/senate/448054-senators-clinch-votes-to-rebuke-trump-on-saudi-arms-sale https://thehill.com/homenews/administration/447936-trump-says-hes-received-new-letter-from-kim-jong-un Thankyou. cor-el Top10Contributor Moderator 12.6.1910:54 moreoptions Quote ChosenSolution TrytoaddthistouserContent.css: @-moz-documentdomain(thehill.com){ div.player-container{display:none!important;} } TrytoaddthistouserContent.css:
@-moz-documentdomain(thehill.com){
div.player-container{display:none!important;}
}
stevejq Questionowner 13.6.1919:23 moreoptions Quote Thesecondsnippetofcodeworksasexpected--nomorepopupvideosonthehill.com.Thankyouforthat. Itisregrettablethateachwebsitemustbeanalyzedandafewlinesofcustomcodedevelopedinordertoblockthepopupvideos.IlookedatthelinksyouprovidedaboveabouttheInspector,CSSselector,etc.Thesewatersarenotforthefaintofheart. Yourhelpismuchappreciated. Thesecondsnippetofcodeworksasexpected--nomorepopupvideosonthehill.com.Thankyouforthat. Itisregrettablethateachwebsitemustbeanalyzedandafewlinesofcustomcodedevelopedinordertoblockthepopupvideos.IlookedatthelinksyouprovidedaboveabouttheInspector,CSSselector,etc.Thesewatersarenotforthefaintofheart. Yourhelpismuchappreciated. cor-el Top10Contributor Moderator 13.6.1919:48 moreoptions Quote You'rewelcome. YoucanusetheseexamplestocheckintheInspectorwhatcontainersareused. IfyoumoveupanddownintheDOMtreethenyouquicklynoticewhatisselected(highlighted)onthewebpage,soyoucanseewhenyouleavetheplayercontainerandthengodownonetag. ThesetagsusuallyhaveanIDorclassnamethatyoucanuse. Youcanaddadisplay:none!important;ruleunder"ThisElement"intherightpanelasatest. element{ display:none !important; } You'rewelcome. YoucanusetheseexamplestocheckintheInspectorwhatcontainersareused. IfyoumoveupanddownintheDOMtreethenyouquicklynoticewhatisselected(highlighted)onthewebpage,soyoucanseewhenyouleavetheplayercontainerandthengodownonetag. ThesetagsusuallyhaveanIDorclassnamethatyoucanuse. Youcanaddadisplay:none!important;ruleunder"ThisElement"intherightpanelasatest. element{ display:none!important; }


請為這篇文章評分?