RSS Home New Gadgets

Posts Tagged ‘ writing

Want to Boost Sales of Your iPhone App? Bribe People 20 November 2008 at 7:36 pm by admin

Santalive

An iPhone developer appears to have paid people to give his application five-star ratings in an effort to boost sales.

A reader calling himself "Techtistic" reported his discovery in the comments section of The Unofficial Apple Weblog’s story about Santa Live, an iPhone app that shows animations of Santa Claus training his elves, feeding his reindeer and so on. Techtistic posted a link to an Amazon Mechanical Turk listing, and he alleges that Santa Live’s developers were offering to pay $4 to anyone willing to download the app and leave a five-star review.

By the time of this writing, the link to the Mechanical Turk listing is dead, but Techtistic snapped a screenshot of it (above). In the listing, the company asks "workers" to distinguish themselves by sticking five periods (…..) somewhere in the review. Currently, out of the 22 reviews for the app, there are seven with the five dots.

Santa Live cost $2 in the App Store, meaning that would amount to $2 in profit for each "worker." That’s a quick way to score some positive reviews, isn’t it? It’s also a cheap trick to work around Apple’s recently revised App Store review policies. In the past, anyone could review an app without even downloading it. Apple saw that was unfairly hurting — or favoring — some developers, so the company changed the rules, requiring customers to download the app in order to review it.    

Casual Game Network, the developer of Santa Live, did not immediately reply for comment. However, I’ll note that game companies are notorious for pouring tons of money into bribing journalists with gifts. (Yes, some have tried with me.) So assuming the allegations here are true, I’m frankly not surprised.

We’re definitely going to keep looking into cases like this. Have you seen any other similar methods online, Gadget Lab readers? If so, feel free to e-mail me: BChen [at] Wired [dot] com.

This just in: Santa Claus has his own iPhone app [TUAW]

Add to Reddit
Add to Facebook
Add to digg


+ Put Your Hands in the Fire (Or Not) With a Special Ops Glove By admin 20 November 2008 at 7:23 pm and have No Comments

Or_modular_glove_system_gen_ii

A protective glove system that is currently being used in Iraq by the military is now being made available to civilians. Expect plenty of gear heads, wannabe heroes, and disaster preparedness aficionados to add them to their must-get Christmas wish list.

Outdoor Research’s latest Modular Gloves are highly useful flame resistants and have proven integral in the battlefield because of their temperature versatility — they can handle extreme cold and super-hot flames just the same. Made out of a tough, abrasion-resistant exterior fabric called ‘Wolverine’ that is also lightweight, the gloves team up with a three-layer soft-shell fabric for improved comfort. The user is supposed to mix up the different glove layers as the need demands it.

Gloves_one
The glove system is peculiar because the light, Nomex-based material also stretches four-ways, allowing the user a greater range or motion than usual. It also sheds light precipitation and has a soft, wicking interior. Most gear with a high level of flame protection is so inflexible that they make people look like chubby cousins of the Stay-Puft Marshmallow man. And you don’t want your firefighters to stumble around in narrow spaces while their immediate surroundings come tumbling down in flames.

According to OR, the $1100 Modular Glove System is currently used by all active SOF operators, including troops serving in the Middle East. With the dangerous increase of MID attacks (and their inevitable flying shrapnel), they’ve proven more than useful and have saved plenty of limbs from potential burns.

So while we won’t recommend that anyone should, in fact put his or her hands in a fire, it’s good to know that if you absolutely had to (like an emergency), there’s some gear out there that can handle that dangerous task.

Add to Reddit
Add to Facebook
Add to digg


+ Motorola to layoff 3,000 employees, most of ‘em in handset division By admin 02 November 2008 at 6:20 am and have No Comments

Filed under:

To be honest, we were surprised that we didn’t hear this number along with the other doom and gloom professed during Motorola’s Q3 earnings call, but the writing was very clearly on the wall. As part of the mentioned $800 million expenditure cut planned for 2009, 3,000 (more) of Moto’s employees will be looking for work elsewhere. According to an unnamed spokeswoman, a “little over two-thirds of those layoffs [will be] in the handset division.” And just think — if Moto would only use all those hands to get an Android-powered phone out before “entirely too long from now,” maybe these cuts wouldn’t even be necessary. Maybe.

Motorola to layoff 3,000 employees, most of ‘em in handset division originally appeared on Engadget on Sun, 02 Nov 2008 07:20:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

+ Goodbye, Productivity: MTV Music Site Posts Every Music Video Ever [Music] By admin 28 October 2008 at 9:30 am and have No Comments

pembed src=”http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:143494″ width=”494″ height=”419″ type=”application/x-shockwave-flash” flashVars=”dist=http://www.mtvmusic.com” allowFullScreen=”true” AllowScriptAccess=”never”/embedbr / I hope you’ve got some time to kill, because the new a href=”http://www.mtvmusic.com/”MTV Music/a website is pretty much the coolest thing ever for music fans. At long last, the MTV name is being associated with music videos again, because the “music” channel has gone and put its entire archive of music videos online, all embeddable and in high quality. It’s like Hulu for music videos, only with less ads (for now). And it’s awesome./p pembed src=”http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:128647″ width=”494″ height=”419″ type=”application/x-shockwave-flash” flashVars=”dist=http://www.mtvmusic.com” allowFullScreen=”true” AllowScriptAccess=”never”/embedThe site’s still very young, but just poking around shows the amazing amount of content on there. There aren’t just music videos on here, but also songs played on shows like VH1 Storytellers and MTV Unplugged. Just check out above, where I’ve embedded Nirvana playing The Man Who Sold the World from their unplugged set. As of this writing, it’s been played 8 times. /p pembed src=”http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:220780″ width=”494″ height=”419″ type=”application/x-shockwave-flash” flashVars=”dist=http://www.mtvmusic.com” allowFullScreen=”true” AllowScriptAccess=”never”/embedBefore this just degenerates into me embedding my favorite music videos, I’ll just leave you with this video for Wanderlust by Bjork and then let you go explore for yourself. Just from my surface exploration, it includes pretty much everything, from old acts to new, major label acts to indies. Go, go now! [a href="http://www.mtvmusic.com"MTV Music/a]/p br style=”clear: both;”/
img alt=”" style=”border: 0; height:1px; width:1px;” border=”0″ src=”http://www.pheedo.com/img.phdo?i=0f415f9cb22f534bce336c0a5d442208″ height=”1″ width=”1″/
img src=”http://www.pheedo.com/feeds/tracker.php?i=0f415f9cb22f534bce336c0a5d442208″ style=”display: none;” border=”0″ height=”1″ width=”1″ alt=”"/
pa href=”http://feeds.gawker.com/~a/gizmodo/full?a=oS89Q7″img src=”http://feeds.gawker.com/~a/gizmodo/full?i=oS89Q7″ border=”0″/img/a/pdiv class=”feedflare”
a href=”http://feeds.gawker.com/~f/gizmodo/full?a=YAPlM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=YAPlM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=b5lwM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=b5lwM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=mjCTm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=mjCTm” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=XdE7m”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=XdE7m” border=”0″/img/a
/divimg src=”http://feeds.gawker.com/~r/gizmodo/full/~4/434786354″ height=”1″ width=”1″/

+ R/C License Plate Covers Are a Tempting But Unwise Purchase [Vehicles] By admin 28 October 2008 at 9:15 am and have No Comments

pimg src=”http://cache.gawker.com/assets/images/gizmodo/2008/10/rflicensenew.jpg” align=”left” hspace=”4″ vspace=”2″ style=”display:block;” /All of us have considered it at one time or another. What if we just didn’t have a license plate? The cops could spot us speeding, we’d ditch out on a side street and then we’d drive the same car to work the next day without a hitch (or tasering). It was a fun daydream, but now with these RF License Plate Covers, we can a href=”http://gizmodo.com/5069422/the-muppets-animal-caught-speeding-driving-police-crazy”live/a that dream./p pOnce installed, you simply press a button to command motorized panels to cover your front and back plates. At this point, while you can still see your car, it’s technically invisible. Then press down on the gas, put two wheels on the sidewalk and you’ll really see what those license plate covers can really do./p pPriced at $121, just remember, there’s always a magical place called the race track if you want to drive like a douche. [a href="http://www.dealextreme.com/details.dx/sku.16963"DealExtreme/a via a href="http://www.ohgizmo.com/2008/10/28/remote-license-plate-cover-saves-time-and-money-at-toll-booths/"OhGizmo!/a]/p br style=”clear: both;”/
img alt=”" style=”border: 0; height:1px; width:1px;” border=”0″ src=”http://www.pheedo.com/img.phdo?i=040ab7690a94c0e93069c62a78ccad6a” height=”1″ width=”1″/
img src=”http://www.pheedo.com/feeds/tracker.php?i=040ab7690a94c0e93069c62a78ccad6a” style=”display: none;” border=”0″ height=”1″ width=”1″ alt=”"/
pa href=”http://feeds.gawker.com/~a/gizmodo/full?a=yzra5Q”img src=”http://feeds.gawker.com/~a/gizmodo/full?i=yzra5Q” border=”0″/img/a/pdiv class=”feedflare”
a href=”http://feeds.gawker.com/~f/gizmodo/full?a=qNG9M”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=qNG9M” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=jvveM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=jvveM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=zXI6m”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=zXI6m” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=MiMKm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=MiMKm” border=”0″/img/a
/divimg src=”http://feeds.gawker.com/~r/gizmodo/full/~4/434762233″ height=”1″ width=”1″/

+ The Most Important Appliance In a Depression [The Next Great Depression] By admin 28 October 2008 at 8:40 am and have No Comments

pimg src=”http://cache.gawker.com/assets/images/gizmodo/2008/10/freezer.jpg” width=”494″ height=”329″ style=”display:block;float:none;” /I’m not surprised that in the middle of a deep recession, while people have basically stopped buying appliances, standalone freezers a href=”http://blogs.consumerreports.org/home/2008/10/best-freezers.html?EXTKEY=I72RSHA”have an exceptional growth of 13 percent/a. One of my grandmas, who lives alone, has the most massive freezer I have ever seen in a home. It is bursting with food that will likely never be eaten, unless a zombie apocalypse strikes and the whole family boards itself up in her house, where we would have six months before we’d have to start eating each other./p pI’ve been told that’s pretty typical of people who lived through The Great Depression or the War in Europe (she was on the wrong side in the latter). I think it’s kinda the same instinct, but like on a smaller scale. Or you know, there’s just a delicious renaissance in gourmet TV dinners. [a href="http://blogs.consumerreports.org/home/2008/10/best-freezers.html?EXTKEY=I72RSHA"Consumer Reports/a via a href="http://consumerist.com/5069471/americans-stop-buying-appliances-except-for-freezers"Consumerist/a, emImage: a href="http://gettyimages.com"Getty/a/em]/p br style=”clear: both;”/
img alt=”" style=”border: 0; height:1px; width:1px;” border=”0″ src=”http://www.pheedo.com/img.phdo?i=45073313802ef32d983d0822a1af8023″ height=”1″ width=”1″/
img src=”http://www.pheedo.com/feeds/tracker.php?i=45073313802ef32d983d0822a1af8023″ style=”display: none;” border=”0″ height=”1″ width=”1″ alt=”"/
pa href=”http://feeds.gawker.com/~a/gizmodo/full?a=7CfnYb”img src=”http://feeds.gawker.com/~a/gizmodo/full?i=7CfnYb” border=”0″/img/a/pdiv class=”feedflare”
a href=”http://feeds.gawker.com/~f/gizmodo/full?a=psP1M”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=psP1M” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=ufXCM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=ufXCM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=PaRqm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=PaRqm” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=AYwtm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=AYwtm” border=”0″/img/a
/divimg src=”http://feeds.gawker.com/~r/gizmodo/full/~4/434729829″ height=”1″ width=”1″/

+ Radioshack Offers Gift Cards for Old, Broken Gadgets [Trade-ins] By admin 28 October 2008 at 8:22 am and have No Comments

pimg src=”http://cache.gawker.com/assets/images/gizmodo/2008/10/ipodtradeinsnew.jpg” align=”left” hspace=”4″ vspace=”2″ style=”display:block;” /Similar to offers we’ve seen from companies like a href=”http://gizmodo.com/gadgets/notag/costco-gives-you-money-for-your-junk-316420.php”Costco/a, the RadioShack Online Trade-In Program will swap your old gadgets for gift cards. You search their database for your gadget and offer the best quality assessment that you can, and they provide a mail-in sticker that you print. If all goes well, they’ll send you a gift card 10-14 days after the unit is received. But remember, that’s only if a href=”http://gizmodo.com/338379/the-truth-behind-costco-cash+for+gadgets-program”emall goes well/em/a. So assuming worst case scenario, what are your emtotally broken/em gadgets worth?/p p3G iPod (10GB)br $3.23/p p1st Gen Zunebr $5.81/p pPalm Treo 650br $3.69/p pXbox 360 Premiumbr $9.65/p pDS Litebr $4.25/p pWiibr $15.85/p pPlayStation 3 (60GB)br $23.48/p pNeedless to say, if you’ve trashed all of your electronics, you may be able to unload them and score a few bucks in the process. [a href="http://radioshack.cexchange.com/online/home/index.rails"RadioShack/a]/p br style=”clear: both;”/
img alt=”" style=”border: 0; height:1px; width:1px;” border=”0″ src=”http://www.pheedo.com/img.phdo?i=ea8a895f4a1be5cac02fd9e0b0b829c9″ height=”1″ width=”1″/
img src=”http://www.pheedo.com/feeds/tracker.php?i=ea8a895f4a1be5cac02fd9e0b0b829c9″ style=”display: none;” border=”0″ height=”1″ width=”1″ alt=”"/
pa href=”http://feeds.gawker.com/~a/gizmodo/full?a=l7YEPA”img src=”http://feeds.gawker.com/~a/gizmodo/full?i=l7YEPA” border=”0″/img/a/pdiv class=”feedflare”
a href=”http://feeds.gawker.com/~f/gizmodo/full?a=tfJDM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=tfJDM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=XY5sM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=XY5sM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=s5xpm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=s5xpm” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=AqQQm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=AqQQm” border=”0″/img/a
/divimg src=”http://feeds.gawker.com/~r/gizmodo/full/~4/434700038″ height=”1″ width=”1″/

+ BlackBerry Bold Selling for $660 at Best Buy, Costs $169 to Build [Monies] By admin 28 October 2008 at 7:43 am and have No Comments

pimg src=”http://cache.gawker.com/assets/images/gizmodo/2008/10/bbboldmonies.jpg” width=”494″ height=”324″ style=”display:block;float:none;” /Two hilariously complementary news items have hit at about the same time regarding the BlackBerry Bold: first, iSuppli’s a href=”http://www.isuppli.com/NewsDetail.aspx?ID=19664″$169 price estimate/a for the cost to build the handset, and second, a href=”http://www.bestbuy.com/site/olspage.jsp?skuId=9062382st=blackberry%20boldlp=1type=productcp=1id=1218014206238″Best Buy’s announcement/a that they are selling the unlocked version for $660. iSuppli’s cost analysis reveals a handset that costs the a href=”http://gizmodo.com/5025546/isuppli-official-estimate-the-iphone-3g-build-price-is-17433″same amount/a to build as the iPhone 3G, but that, a href=”http://gizmodo.com/5067061/blackberry-bold-att-release-confirmed-november-4-299″even under contract/a, will sell for significantly more. Of course, this is all unfortunately pretty typical. [a href="http://www.bestbuy.com/site/olspage.jsp?skuId=9062382st=blackberry%20boldlp=1type=productcp=1id=1218014206238"Best Buy/a and a href="http://www.digitimes.com/news/a20081028PR203.html"Digitimes/a]/p br style=”clear: both;”/
img alt=”" style=”border: 0; height:1px; width:1px;” border=”0″ src=”http://www.pheedo.com/img.phdo?i=e5bd62e5492e41231004577ee2e47a22″ height=”1″ width=”1″/
img src=”http://www.pheedo.com/feeds/tracker.php?i=e5bd62e5492e41231004577ee2e47a22″ style=”display: none;” border=”0″ height=”1″ width=”1″ alt=”"/
pa href=”http://feeds.gawker.com/~a/gizmodo/full?a=iGU2BP”img src=”http://feeds.gawker.com/~a/gizmodo/full?i=iGU2BP” border=”0″/img/a/pdiv class=”feedflare”
a href=”http://feeds.gawker.com/~f/gizmodo/full?a=u0BBM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=u0BBM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=CvtuM”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=CvtuM” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=F5OMm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=F5OMm” border=”0″/img/a a href=”http://feeds.gawker.com/~f/gizmodo/full?a=b35bm”img src=”http://feeds.gawker.com/~f/gizmodo/full?i=b35bm” border=”0″/img/a
/divimg src=”http://feeds.gawker.com/~r/gizmodo/full/~4/434687413″ height=”1″ width=”1″/

+ Firefox 3.1 Beta 1 Now Available for Download, First Look [Early Adopter Featured Download] By admin 14 October 2008 at 12:10 pm and have No Comments

All platforms: Mozilla has just pushed out Firefox 3.1 Beta 1 to their servers, marking the first major step toward the official 3.1 release. They haven’t yet officially announced the beta release, so the What’s New page is a 404 as of this writing. Luckily we’ve already covered a lot of the features you can expect, so hit the jump for a closer look at what Firefox 3.1 Beta 1 brings to the table.

Faster JavaScript

We’ve shown you just how fast Firefox 3.1 is compared to other browsers, and most of that is due to the new TraceMonkey JavaScript engine. Despite the fact that TraceMonkey comes built into 3.1, you still have to know how to enable it to take advantage. Here’s how it works:

  1. Open about:config in your browser.
  2. Paste javascript.options.jit.content into the filter.
  3. Double-click the remaining preference to set the boolean to true.

Location Awareness

Firefox 3.1 will introduce geolocation to the mix, streamlining the process required to get information from web sites based on your location. In the current release of Firefox, you needed to install the previously mentioned Geode extension to get this functionality, but it comes baked into 3.1.

Improved Ctrl-Tab 3D interface

We told you months ago that Firefox 3.1 would have a fancy new 3D tab-switching interface, but now it’s here and it looks great.

What’s Missing

From what I can tell so far, this beta release does not yet include Private Browsing mode or the smarter session restore, but it’s an exciting start. If you give it a try, share your experience with the new features in the comments.


+ Set Up Universal Ad Blocking Through Your Router [Step By Step] By admin 07 October 2008 at 6:15 pm and have No Comments

If you’ve turned your $60 router into a user-friendly super-router with open-source firmware Tomato, you already know that Tomato can boost your Wi-Fi signal, track bandwidth usage, and set Quality of Service rules with ease. But if you’re a big fan of Adblock Plus—the most popular Firefox extension among Lifehacker readers—you can save yourself an extension installation and universally block ads across your entire home network by adding a custom script to your Tomato firmware. Here’s how it works:

There are several ad-blocking scripts available that could work, but the one I’m using comes from this forum post. Thanks Tad!

Installation

1. Open the Tomato Admin Scripts interface
You’ll need to login with the user name and password you set in our instructions for installing Tomato. Once you’re logged in, make sure to click on the WAN Up tab.

2. Copy the ad-block script to Tomato
I’d recommend going directly to the source, since the author of the script updates it regularly in the top post. As of this writing, the script looks like this:

#!/bin/sh
## Adblock script [Version 2.1 | 08 July 2008 | 3778 bytes]
##
## Created by Adrian Jon Kriel: root-AT-extremecooling-DOT-org
##
## tomato WAN Up script
##
## 0 = disable
## 1 = enable
## (1) = default value
## optimising of dnsmasq, (1)
eval OPTDNSMASQ=”1″
## automatic updating, (1)
eval AUTOUPDATE=”1″
## MVPS HOSTS ~18,500 lines, 680 Kbyte, (1)
eval MVPSSOURCE=”1″
## pgl.yoyo.org ~2,200 lines, 68 Kbyte, (1)
eval PGLSOURCE=”1″
## hosts-file.net ~53,000 lines, 1.5 Mbyte, (0)
eval HSFSOURCE=”0″
## Hosts File Project ~102,000 lines, 3.0 Mbyte ***6+mb free memory***, (0)
eval HFPSOURCE=”0″
##
## varibles
## location of temp file, (/tmp/hosts)
eval GENFILE=”/tmp/hosts”
## redirect ip, (0.0.0.0)
eval REDIRECTIP=”0.0.0.0″
## sources
eval MVPSOURCEFILE=”http://www.mvps.org/winhelp2002/hosts.txt”
eval PGLSOURCEFILE=”http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts”
eval HSFSOURCEFILE=”http://www.it-mate.co.uk/downloads/hosts.txt”
eval HFPSOURCEFILE=”http://hostsfile.mine.nu/Hosts”

if ping -c 1 yahoo.com ; then

eval GOTSOURCE=”0″
echo “” > $GENFILE
## download
if [ "$MVPSSOURCE" = "1" ] ; then
if wget $MVPSOURCEFILE -O - >> $GENFILE ; then
logger ADBLOCK Downloaded $MVPSOURCEFILE
eval GOTSOURCE=”1″
else
logger ADBLOCK Failed $MVPSOURCEFILE
fi
fi
if [ "$PGLSOURCE" = "1" ] ; then
if wget $PGLSOURCEFILE -O - >> $GENFILE ; then
logger ADBLOCK Load $PGLSOURCEFILE
eval GOTSOURCE=”1″
else
logger ADBLOCK Fail $PGLSOURCEFILE
fi
fi
if [ "$HSFSOURCE" = "1" ] ; then
if wget $HSFSOURCEFILE -O - >> $GENFILE ; then
logger ADBLOCK load $HSFSOURCEFILE
eval GOTSOURCE=”1″
else
logger ADBLOCK Fail $HSFSOURCEFILE
fi
fi
if [ "$HFPSOURCE" = "1" ] ; then
if wget $HFPSOURCEFILE -O - >> $GENFILE ; then
logger ADBLOCK Load $HFPSOURCEFILE
eval GOTSOURCE=”1″
else
logger ADBLOCK Fail $HFPSOURCEFILE
fi
fi

if [ "$GOTSOURCE" = "1" ]; then
logger ADBLOCK Got Source Files
#FREE MEMORY!
service dnsmasq stop
killall -9 dnsmasq
logger ADBLOCK Ignor Fail Safe
##strip source file
sed -i -e ‘/^[0-9A-Za-z]/!d’ $GENFILE
sed -i -e ‘/%/d’ $GENFILE
sed -i -e ’s/[[:cntrl:][:blank:]]//g’ $GENFILE
sed -i -e ’s/^[ t]*//;s/[ t]*$//’ $GENFILE

## dnsmasq, sanitize, optimised
sed -i -e ’s/[[:space:]]*[.*$//' $GENFILE
sed -i -e 's/[[:space:]]*].*$//’ $GENFILE
sed -i -e ‘/[[:space:]]*#.*$/ s/[[:space:]]*#.*$//’ $GENFILE
sed -i -e ‘/^$/d’ $GENFILE
sed -i -e ‘/127.0.0.1/ s/127.0.0.1//’ $GENFILE
sed -i -e ‘/^www[0-9]./ s/^www[0-9].//’ $GENFILE
sed -i -e ‘/^www./ s/^www.//’ $GENFILE
## remove duplicates (resource friendly)
cat $GENFILE | sort -u > $GENFILE.new
mv $GENFILE.new $GENFILE
## format
sed -i -e ’s|$|/’$REDIRECTIP’|’ $GENFILE
sed -i -e ’s|^|address=/|’ $GENFILE
## load values from dnsmasq config
cat /etc/dnsmasq.conf >> $GENFILE
## optimise dnsmasq
if [ "$OPTDNSMASQ" = "1" ] ; then
cat >> $GENFILE <<EOF
cache-size=2048
log-async=5
EOF
fi

## remove/whitelist websites
## removes 3 websites (aa.com, bb.com, cc.com)
## remove the # and edit the website urls.
sed -i -e ‘/aa.com/d’ $GENFILE
sed -i -e ‘/bb.com/d’ $GENFILE
sed -i -e ‘/cc.com/d’ $GENFILE

## apply blacklist
dnsmasq —conf-file=$GENFILE

## failsafe added
dnsmasq
logger ADBLOCK Ignor Fail Safe

## dev info
logger ADBLOCK Unique Hosts Blocked $(awk ‘END { print NR }’ $GENFILE)
else
logger ADBLOCK Error Not Downloaded
fi
else
logger ADBLOCK Error No Internet
fi
## remove the generated files
rm $GENFILE*
## automatic update
if [ "$AUTOUPDATE" = "1" ] ; then
## script exists
if [ -x /tmp/script_wanup.sh ] ; then
cru a UpdateAdlist “0 6,12,18,0 * * * /tmp/script_wanup.sh >/dev/null 2>&1″
fi
fi
## the end

You should paste the script into the blank text area in the WAN Up tab we navigated to above.

3. Save the script by clicking the Save button.

4. Reboot your router to enable the script.

That’s all there is to it. Next time you visit a web site, you should notice a conspicuous lack of ads. The same should be true from any computer, as long as its connected to your Tomato router.

There are some unfortunate bits and pieces about this method versus the Adblock extension that you might want to take into consideration before setting it up on your router. First, if you want to whitelist a site, you have to manually edit the script by changing the following section:

## remove/whitelist websites
## removes 3 websites (aa.com, bb.com, cc.com)
## remove the # and edit the website urls.
sed -i -e ‘/aa.com/d’ $GENFILE

…replacing aa.com with the site you wanted to whitelist. Keep in mind that whitelisting does not work for whitelisting all ads on a specific site—instead, if you’re having trouble opening a site you want to look at because it’s on a blacklist, whitelisting that site will let you access that one specific site. As someone who makes a living writing for an ad-supported web site, I normally encourage people to allow ads on sites they care about. Unfortunately the script doesn’t allow you to whitelist all ads on specific sites. (It may be possible, though, so if you know how to go about doing so, I’d love to hear it in the comments!)

I am aware that many of you rely on ad-blocking scripts or extensions to speed up your slow internet, (in fact, we’ve recommended that you do as much to survive a slow internet connection), and others of you just hate dealing with the eyesore that flashy ads can cause.

So while I still heartily encourage supporting sites you frequent, this simple script makes setting up a universal ad-block on your home network a breeze. If you’ve used a similar method to block ads across your network, let’s hear about it in the comments.