Post Reply 
How to stop a specific gif and ads banner
Aug. 31, 2008, 05:03 AM
Post: #1
How to stop a specific gif and ads banner
Hello! I just joined here.

I installed sidki 2007 09 09 and enabled it.

I am trying to stop a gif file which is specified as
http://www.friendlycolor.com/admin/F400_...MS_ID=6465

or

http://www.friendlycolor.com/L1/images/season_admin.gif
(Firefox Adblock recognizes this image as this gif)

-----------------------------------------------------
The other question is:

This is a case when using the default config.
Advertising banners from image.rakuten.co.jp can be stopped by
[^.]+.image.rakuten.co.jp/
[^.]+.thumbnail.image.rakuten.co.jp/@0_mall/
when the config file is changed to the default one and URL Killfiles.txt has the above two lines.

But the text below the banner image are still displayed.
I used HTTP Message Log to find out which URL is being called to display these text.

But there is no clue for this.

Please advise how to find out the mechanism which displays these ad text in a table.


With the sidki 2007 09 09, there is no URL Killfiles.txt.

[^.]+.image.rakuten.co.jp/
[^.]+.thumbnail.image.rakuten.co.jp/@0_mall/
are inserted into D:\Proxomitron Naoko-4\Lists\sidki_l_2007-09-09\IncludeExclude.ptxt

But the banner images are displayed.

The ad image and the Proxomitron HTTP log is attached.

Any advise on the above situation is very much appreciated.

pjo


Attached File(s)
.jpg  RakutenBanner.jpg (Size: 172.05 KB / Downloads: 462)
Add Thank You Quote this message in a reply
Aug. 31, 2008, 05:52 PM
Post: #2
RE: How to stop a specific gif and ads banner
Welcome jpo! =]

Can you copy/paste the URL of a page where this ad is displaying? For security purposes, I have deleted your HTTP log, since it contained cookie strings. Smile!

Thanks!
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 12:28 AM
Post: #3
RE: How to stop a specific gif and ads banner
(Aug. 31, 2008 05:52 PM)Kye-U Wrote:  Welcome jpo! =]

Can you copy/paste the URL of a page where this ad is displaying? For security purposes, I have deleted your HTTP log, since it contained cookie strings. Smile!

Thanks!

Thanks for the deletion. I did not realize that.

This page is a Japanese SNS page which requires submitting your e-mail address and password to login. These info are tranmitted to the server but these info are not transmitted to the owner of the SNS which is me.
It is http://age.sns-site.net/

The HTML source of the SNS after logged in is attached.
This source is when the
[^.]+.image.rakuten.co.jp/
[^.]+.thumbnail.image.rakuten.co.jp/@0_mall/
are written in the URL Killfiles.txt of the default config.

The banner images are killed but the text are still displayed in the ads.

The ads image which is attached in the previous post is from rakuten.co.jp and filtering it killed the image but not the text.

When I looked at this HTML source, I cannot find any rakuten related link. But there are google related links. The text is just the name of product and the price of the killed image.
.txt  0000_200_P1.txt (Size: 41.72 KB / Downloads: 654)
.txt  0000_200_P1.txt (Size: 41.72 KB / Downloads: 654)
Add Thank You Quote this message in a reply
Sep. 01, 2008, 06:22 AM
Post: #4
RE: How to stop a specific gif and ads banner
To remove both the image and the text, you'll need to use a web filter:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 640
Match = "<table width="218" align="center" $INEST(<table,</table>)</table> (<img src="http://www.friendlycolor.com/L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)"

Note that I assumed that you would want to keep the block with your profile information Smile! If you want to get rid of it, just increase the Byte Limit to 1500. With this filter activated, you won't need those two lines in your IncludeExclude file Wink
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 06:39 AM
Post: #5
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 06:22 AM)Kye-U Wrote:  To remove both the image and the text, you'll need to use a web filter:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 640
Match = "<table width="218" align="center" $INEST(<table,</table>)</table> (<img src="http://www.friendlycolor.com/L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)"

Note that I assumed that you would want to keep the block with your profile information Smile! If you want to get rid of it, just increase the Byte Limit to 1500. With this filter activated, you won't need those two lines in your IncludeExclude file Wink

Kye-U, Thanks a million !

Yes I want to keep the profile block.
Where shall I put this web filter ?
Is this for "sidki 2007 09 09" or the default ?

pjo
Add Thank You Quote this message in a reply
Sep. 01, 2008, 06:51 AM
Post: #6
RE: How to stop a specific gif and ads banner
Glad to help! You can put this web filter in any config pack (Sidki's or the Default), preferably at the top of the web filter list.

For example, I use Sidki's config set, so I import all my custom filters under:

Code:
################     CONFIG CONTROL     ###############

If you don't know how to import filters, read this topic: http://prxbx.com/forums/showthread.php?tid=1059
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 07:03 AM (This post was last modified: Sep. 01, 2008 07:33 AM by pjo.)
Post: #7
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 06:51 AM)Kye-U Wrote:  Glad to help! You can put this web filter in any config pack (Sidki's or the Default), preferably at the top of the web filter list.

For example, I use Sidki's config set, so I import all my custom filters under:

Code:
################     CONFIG CONTROL     ###############

If you don't know how to import filters, read this topic: http://prxbx.com/forums/showthread.php?tid=1059

Kye-U, Thanks again! I will try it.

pjo
I put the Web Filter in "sidki 2007 09 09" and the result is shown in the attached file, rightAdsKilled. The original is withFullAds.

But the center banners are still there.

With the default config,
by inserting
[^.]+.image.rakuten.co.jp/
[^.]+.thumbnail.image.rakuten.co.jp/@0_mall/
in the URL Killfiles.txt

the center banner images are killed as depicted in centerKilled.
But the text is still there.

How can these texts be removed in the default and "sidki 2007 09 09" ?

Attached sidiki HTML is from the sidiki config.
Attached default HTML is from the default.


Attached File(s)
.jpg  2008-09-01_162629-rightAdsKilled.jpg (Size: 294.78 KB / Downloads: 430)
.jpg  2008-09-01_162257withFullAds.jpg (Size: 335.15 KB / Downloads: 404)
.txt  0000_200_P1-2.txt (Size: 48.3 KB / Downloads: 626)
.txt  URL Killfile.txt (Size: 3.43 KB / Downloads: 416)
Add Thank You Quote this message in a reply
Sep. 01, 2008, 07:53 AM
Post: #8
RE: How to stop a specific gif and ads banner
Here you go!

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 3700
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*document.getElementById\('profile'\)*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 08:12 AM
Post: #9
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 07:53 AM)Kye-U Wrote:  Here you go!

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 3700
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*document.getElementById\('profile'\)*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"

Kye-U, Thanks again.
I put this code into web filter (sidki) but this does not kill the center banner.

Please advise where and how to put this code into the default.
With the default, I cannot edit web filters. It looks like each file must be edited but I do not know ehich file.
Add Thank You Quote this message in a reply
Sep. 01, 2008, 08:17 AM
Post: #10
RE: How to stop a specific gif and ads banner
Hmm, let me know which one's the centre banner you're talking about =]

I assumed that blocks B and C are the blocks you wanted to get rid of (the latest filter should remove them).

Are you talking about Block A?


.jpg  blocks.jpg (Size: 401.94 KB / Downloads: 492)

I'm off to bed now; I'll be sure to update the filter tomorrow!
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 08:23 AM
Post: #11
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 08:17 AM)Kye-U Wrote:  Hmm, let me know which one's the centre banner you're talking about =]

I assumed that blocks B and C are the blocks you wanted to get rid of (the latest filter should remove them).

Are you talking about Block A?



I'm off to bed now; I'll be sure to update the filter tomorrow!

Yes. Block B and C should be removed.
It did not remove B, C is removed.

I look forward to read your posts tomorrow. Good Night !
Add Thank You Quote this message in a reply
Sep. 01, 2008, 04:03 PM
Post: #12
RE: How to stop a specific gif and ads banner
Here you are:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 4800
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*document.getElementById\('profile'\)*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"

I must've been falling asleep as I was writing the filter; I misread the bytes total of the ad code. The bytes limit in the last filter was too small =]
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 11:19 PM
Post: #13
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 04:03 PM)Kye-U Wrote:  Here you are:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 4800
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*document.getElementById\('profile'\)*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"

I must've been falling asleep as I was writing the filter; I misread the bytes total of the ad code. The bytes limit in the last filter was too small =]

Kye-U, Thanks a million !!!

Now it worked. It removed block A,B,C.

I would like to learn what this filter is doing.
I am not familiar with how these ads work.

BTW I found that the block C has two important links on how to use this SNS and how to for mobile user.

Can Block C not to be removed by changing the byte total ?
Or how to display Block C again for the user who wants to have those links ?
The links are:
http://www.friendlycolor.com/L2/L2_Emoji.php
http://www.friendlycolor.com/sns/manual/..._index.php

pjo
Add Thank You Quote this message in a reply
Sep. 01, 2008, 11:37 PM
Post: #14
RE: How to stop a specific gif and ads banner
Here you go:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 5000
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*(L2_Emoji.php|manual_index.php|document.getElementById\('profile'\))*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"

What this filter does is it basically removes the <TABLE> code from the page(s) =]

Quote:<table width="218" align="center" $INEST(<table,\1,</table>)</table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*(L2_Emoji.php|manual_index.php|document.getElementById\('profile'\))*))

Blue = contents of table. Having the $INEST function allows for the filter to remove the one table, and any other nested tables. The contents are stored in \1, a local variable.

Green = optional match, which is the space between the ads. The key part is the pipe: (**code here**|), which makes it literally match **code here** OR nothing.

Red = a test to see if certain strings exist in \1. If the strings exist, then the original code is left intact. If not, then it's removed. It tests for: L2_Emoji.php, manual_index.php and document.getElementById\('profile'\). Note that I had to escape the parenthese by using a backslash, making it an "exact match".

I hope this helps! Let me know if you want me to explain anything in more depth.
Visit this user's website
Add Thank You Quote this message in a reply
Sep. 01, 2008, 11:53 PM (This post was last modified: Sep. 01, 2008 11:57 PM by pjo.)
Post: #15
RE: How to stop a specific gif and ads banner
(Sep. 01, 2008 11:37 PM)Kye-U Wrote:  Here you go:

Code:
[Patterns]
Name = "FriendlyColor: Ad Remover"
Active = TRUE
URL = "([^.]+.|)friendlycolor.com"
Limit = 5000
Match = "<table width="218" align="center" $INEST(<table,\1,</table>) </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*(L2_Emoji.php|manual_index.php|document.getElementById\('profile'\))*))"
        "|<table width="1000" border="0" align="left" cellpadding="0" cellspacing="1" >$INEST(<table,</table>)</table>"

What this filter does is it basically removes the <TABLE> code from the page(s) =]

Quote:<table width="218" align="center" $INEST(<table,\1,</table>)[/color </table> (<img src="../L1/images/spacer.gif" width="1" height="3" alt="" /> <br />|)(^$TST(\1=*(L2_Emoji.php|manual_index.php|document.getElementById\('profile'\))*))

Blue = contents of table. Having the $INEST function allows for the filter to remove the one table, and any other nested tables. The contents are stored in \1, a local variable.

Green = optional match, which is the space between the ads. The key part is the pipe: (**code here**|), which makes it literally match **code here** OR nothing.

Red = a test to see if certain strings exist in \1. If the strings exist, then the original code is left intact. If not, then it's removed. It tests for: L2_Emoji.php, manual_index.php and document.getElementById\('profile'\). Note that I had to escape the parenthese by using a backslash, making it an "exact match".

I hope this helps! Let me know if you want me to explain anything in more depth.

Kye-U,Thanks a billion again.

It worked perfectly !

Please advise pointer(s) to lean about
Limit =
$INEST
$TST

How does this code specify which table is the ads among other tables ?

BTW in your previous post, the Green [/color looks like noty working with Firefox 3. It works with IE7.

pjo
Completely different subject.

When using Firefox 3, the post cannot be quoted to reply. Firefox 3 displays blank page after clicking Quote.

With IE7 it is OK. Running Vista.

Proxomitron Byopass has no effect on this.

Any advise on this ?
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: