November 22, 2024, 07:40:59 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: popup blocks  (Read 5356 times)

Offline jitender33

  • Linux Noob !
  • *
  • Posts: 23
popup blocks
« on: January 12, 2006, 12:48:36 PM »
hi
    Is any way in linux firewall block to advertisemnet pops up. If yes then how plz give me the guide line

with regards
Jitender

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
popup blocks
« Reply #1 on: January 12, 2006, 04:08:00 PM »
Ok
I  think u cant block POPUP's as this is the property of your browser not server ,  actually the senerio is like this

When ever u request for a web page then , the page as well as popup's associated with that page are automatically called..., so if u wana block POPUP's then u have to block the whole website which generate these popup's but again it is not a good solution :lol:

U can use pop-up blocker for that..., I have never used it but just search google for that...


gaurav bajaj

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
popup blocks
« Reply #2 on: January 12, 2006, 05:43:11 PM »
well.. he is right but you can some work at server also, in squid we uses acls to block specifc urls which might be ads,
To block some ads in squid ie.. the url with words ads, also some movie , mp3 etc then
Code: [Select]
acl BlockExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$ \.ads$ \.popup$
# the above is single line
http_access deny BlockExt all


At browser level, in firefox there is a popup blocker , give it a try.

Offline jitender33

  • Linux Noob !
  • *
  • Posts: 23
reply
« Reply #3 on: January 14, 2006, 07:12:25 AM »
Quote from: "Ricky"
well.. he is right but you can some work at server also, in squid we uses acls to block specifc urls which might be ads,
To block some ads in squid ie.. the url with words ads, also some movie , mp3 etc then
Code: [Select]
acl BlockExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$ \.ads$ \.popup$
# the above is single line
http_access deny BlockExt all


At browser level, in firefox there is a popup blocker , give it a try.



thanks ricky