LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 12-17-2009, 01:49 PM   #1
sysbox
Member
 
Registered: Jul 2005
Posts: 117

Rep: Reputation: 15
LinuxQuestions: Pop-Ups in Firefox


I was reading a thread on LinuxQuestions before I logged in, and I noticed a few things.

First, while not logged in, certain words in the thread were converted to hyperlinks to various pages. As an example, the word "Verizon" in one thread was linked to Verizon's home page. That link disappeared when I logged in.

Second, those links caused a kind of "pop-up window" in firefox when I simply moved my mouse over them (without clicking). That pop-up window had an advertisement which had absolutely nothing to do with the word that caused the pop-up to occur.

My first question: what's going on? Why is this being done? Are these pop-up windows named anything other than pop-up windows?

My second question: how can I stop these windows from occurring. I have already blocked pop-up windows in firefox, so I'm guessing that they are a different kind of thing.
 
Old 12-17-2009, 02:03 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The hyperlinks are by design. Since not logged in people aren't contributing in the same way as members, it is right that they should bring in revenue from ads. The pop up is (IIRC) a bit of javascript - otherwise you'd be redirected every time you hovered or clicked. None of these things are malicious, they are simply designed to bring in a bit of money from people who otherwise just take from the site (and the members by extension). They are unblockable though, unless you block all scripts.

And I have moved this to LQ Suggestions and Feedback.
 
Old 12-17-2009, 02:08 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
I keep a list of all ad servers in my HOSTS file to redirect them to 0.0.0.0
 
Old 12-17-2009, 02:25 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Ray is correct, these are in no way "popups" and are called ContentLink. If you are logged into LQ you will never see them.

--jeremy
 
Old 12-17-2009, 03:44 PM   #5
sysbox
Member
 
Registered: Jul 2005
Posts: 117

Original Poster
Rep: Reputation: 15
Don't interpret my question as a complaint in any way. I'm mostly just curious what they are, and how they work.

Are hyperlinks (ContentLink) manually embedded by the person posting the message? Or are they somehow automatically generated by the forum software?

> I keep a list of all ad servers in my HOSTS file to redirect them to 0.0.0.0

What does that mean? What HOSTS file are you referring to?
 
Old 12-17-2009, 03:49 PM   #6
ctdaemon
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
They are embedded by the server, using keywords, using, I believe a service provided by Google. You can turn them off by disabling scripts, one way is use the "NoScript" extension for Firefox. You can manually choose to block certain hosts/sites or allow others. Very powerful tool
 
Old 12-17-2009, 04:44 PM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
NoScript tends to break quite a few things in by experience. AdBlock is probably a better option in this case, IMHO.

--jeremy
 
Old 12-17-2009, 05:52 PM   #8
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
I disagree - a properly configured NoScript, even without Adblock Plus, can be the most invaluable tool there is.
Not to mention it's an immense security aid, being able to choose what's allowed to run and what's not.
 
Old 12-17-2009, 06:10 PM   #9
sysbox
Member
 
Registered: Jul 2005
Posts: 117

Original Poster
Rep: Reputation: 15
I just installed NoScript. An additional benefit is that it made certain websites display and interact much faster in firefox. Previously, simply scrolling to the bottom of the page took several seconds. Now, it's instantaneous.

I assume that's because those specific websites were running lots of embedded JavaScript that I didn't know about, and the CPU was bogged down try to run that JavaScript.

Thanks!
 
Old 12-17-2009, 06:17 PM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
@ sysbox -- if you find occasion to often need to scroll to the very top of bottom of a page (like to get to the next page button or whatever) you may like the "Back to Top" extension for Firefox too.

@ Smeeze -- usually people direct adsites and the like, to 127.0.0.1 (the loopback address) -- I'm curious what is the significance of 0.0.0.0 in this case? Isn't 0.0.0.0 a synonym for 0/0 ?

@ sysbox -- look in /etc for the "hosts" file -- it serves similar function as the HOSTS file on a Windows machine: name-to-IP mappings, and it can be used to re-direct internet content that you don't care to receive, into the trash (well, actually it directs the request for that content, to the trash).

Sasha

Last edited by GrapefruiTgirl; 12-17-2009 at 06:19 PM.
 
Old 12-17-2009, 07:43 PM   #11
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
My question is, why not just log in?

Installing extensions, etc. seems like a lot of trouble just to keep from logging in and prevent seeing ads.
Just my

Cheers
 
Old 12-17-2009, 08:11 PM   #12
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by dragonslayer48dx View Post
My question is, why not just log in?

Installing extensions, etc. seems like a lot of trouble just to keep from logging in and prevent seeing ads.
Just my

Cheers
Totally I agree. While the extensions are GREAT generally speaking anyhow, there's no reason to NOT create and use an LQ account if one is a regular lurker already.
 
Old 12-17-2009, 08:41 PM   #13
sysbox
Member
 
Registered: Jul 2005
Posts: 117

Original Poster
Rep: Reputation: 15
I just happened to be unlogged in when I noticed them. It wasn't intentional.

I installed NoScript in response to this thread because I didn't previously know about it, and it seemed cool. I didn't install it to avoid logging in.
 
Old 12-17-2009, 08:47 PM   #14
sysbox
Member
 
Registered: Jul 2005
Posts: 117

Original Poster
Rep: Reputation: 15
I also really like the idea of blocking ad sites via the /etc/hosts instead of using firefox's built-in capability. Why? Because that's a human-readable file that I can easily modify, and if I inadvertantly delete the firefox config files (during an upgrade) or use a different browser, those ad sites will still be effectively blocked.
 
Old 12-18-2009, 07:57 AM   #15
ctdaemon
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
your welcome, and I hope you enjoy the extension.

And everyone else, same, and you all have brilliant ideas, I intend to try the idea about the HOST file, sounds useful. Bye!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox doesn't block pop-ups General Linux - Software 6 06-21-2010 07:42 AM
Firefox blocking pop-ups-how to undo 47knuckle Linux - Newbie 5 02-07-2007 05:19 PM
Firefox, block pop-ups from only certain sites General Linux - Software 2 05-29-2006 03:37 AM
pop ups brokenflea Slackware 1 03-25-2004 02:52 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

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