356
<sect1 id="epi-ext-adblocker">
357
<title>Ad Blocker</title>
359
<sect2 id="epi-ext-adblocker-intro">
360
<title>Introduccion</title>
362
<para>The Ad Blocker extension lets you block ad banners on websites.
363
It avoids downloading them, saving time and bandwidth.</para>
366
<sect2 id="epi-ext-adblocker-usage">
367
<title>Using Ad Blocker</title>
369
<para>To use the Ad Blocker, you have to enable the extension.
370
The extension will ignore link to ads when you visit websites, and they won't
371
be displayed in web pages.</para>
372
<para><application>Epiphany</application> will display an icon in left side of the status bar
373
(see <xref linkend="epi-ext-figure-adblocker"/>) to inform you that it has
374
blocked ads. If you move the mouse pointer over the icon, it will
375
give you the number of ads blocked in the page.</para>
376
<figure id="epi-ext-figure-adblocker">
377
<title>The Ad Blocker icon</title>
381
<imagedata fileref="figures/epi-ext-adblocker.png" format="PNG"/>
388
<sect2 id="epi-ext-adblocker-usage-extend">
389
<title>Extend Ad Blocker</title>
391
<para>Ad Blocker should block most of the advertisement on the
392
web, but if you find that some banners are not blocked or Ad
393
Blocker is too restrictive, you can tune Ad Blocker extension to
396
<para>Ad Blocker uses Perl regular expressions to match known URLs of
397
ads servers and common words used in URLs of ads. Ad Blocker
398
stores the system-wide rules in the file
399
<filename>adblock-patterns</filename> located in <filename class="directory">$PREFIX/share/epiphany-extensions/</filename>;
400
one regular expression per line.
403
<sect3 id="epi-ext-adblocker-usage-extend-blacklist">
404
<title>Add a deny rule</title>
406
<para>If you want to block an ad not blocked by the Ad
407
Blocker default rules, you may create a blacklist file, and
408
add rules inside.</para>
409
<para><application>Epiphany</application> looks for the blacklist rules in the file
410
<filename>$HOME/.gnome2/epiphany/extensions/data/adblock/blacklist</filename>.
414
<sect3 id="epi-ext-adblocker-usage-extend-whitelist">
415
<title>Add a permit rule</title>
417
<para>If you want allow to permit an ad to be displayed or
418
correct a rule of Ad Blocker which is too restrictive, you can
419
create a whitelist file, and add rules inside.</para>
420
<para><application>Epiphany</application> looks for white-list rules in the file
421
<filename>$HOME/.gnome2/epiphany/extensions/data/adblock/whitelist</filename>.
427
356
<sect1 id="epi-ext-autoreloadtab">
428
357
<title>Auto Reload Tab</title>