Posts Tagged ‘ Browser

Tutorial:Disable Ads with DD-WRT

If you are running DD-WRT on your router and you hate ads, here is the solution to disable them on every computer in your home.

  1. Navigate to the “Services | Services” tab on your DD-WRT router.
  2. Under “DNSMasq“, make sure “DNSMasq” and “Local DNS” are enabled. Then copy and paste the following code into the “Additional DNSMasq Options” text box.
    addn-hosts=/tmp/dlhosts

  3. Next, navigate to “Administration | Commands“.  Copy and paste the following code into the “Commands” form.  Then click the “Save Startup” button.
    _rogue=0.0.0.0
    echo -e "#!/bin/sh\nn=1\nwhile sleep 60\ndo\n\twget -q -O - http://www.mvps.org/winhelp2002/hosts.txt | grep \"^127.0.0.1\" | grep -v localhost | awk '{print \"$_rogue\\\t\"\$2}' | tr -d '\\\015' >/tmp/dlhosts\n" >/tmp/write_dlhosts
    echo -e "\t[ \`grep -il doubleclick /tmp/dlhosts\` ] && break\n\t[ \$n -gt 5 ] && break\n\tlet n+=1\ndone\nkillall -HUP dnsmasq" >>/tmp/write_dlhosts
    chmod +x /tmp/write_dlhosts
    /tmp/write_dlhosts &

  4. Reboot your router.

If you would like to confirm that your blocking is enabled, open a command prompt and type in “nslookup admarket.cz“. You should get an address of 0.0.0.0 back from your DNS server.

For further information and the source of this information, take a look over on the DD-WRT forums

Share

Firefox:Disable Virus Scan on Download

Firefox PortableWhen Firefox finishes downloading items, by default it does a virus scan. This can can cause FF to hang for a bit as well as prevent you from accessing the file until the scan is done. If you have antivirus software installed on your system, it will already prevent any viral activity via it’s real-time scan.

You can disable this feature by typing about:config in the address bar, and then filtering on browser.download.manager.scanWhenDone. Double click this line to set the value to false.