Delete table including arbitrary link

urum

New Member
URL:
https://crusherfactory.net/~yas_/blog/2014/04/post-163.php


source:
<table border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"><div style="border:1px solid;margin:0px;padding:6px 0px;width:160px;text-align:center;float:left"><a href="https://hb.afl.rakuten.co.jp/hgc/1291b498.6ecd37cf.1291b499.b0269405/?pc=http://item.rakuten.co.jp/az-oil/se033?scid=af_link_tbl&amp;m=http://m.rakuten.co.jp/az-oil/n/se033" target="_blank"><img src="https://hbb.afl.rakuten.co.jp/hgb/?pc=http://thumbnail.image.rakuten.co.jp/@0_mall/az-oil/cabinet/03183194/img77009078.jpg?_ex=128x128&amp;m=http://thumbnail.image.rakuten.co.jp/@0_mall/az-oil/cabinet/03183194/img77009078.jpg?_ex=80x80" alt="AZ チッコイグリースガン・自転車用グリス20gセット [自転車グリース・自転車グリス]" border="0" style="margin:0px;padding:0px"></a><p style="font-size:12px;line-height:1.4em;text-align:left;margin:0px;padding:2px 6px"><a href="https://hb.afl.rakuten.co.jp/hgc/1291b498.6ecd37cf.1291b499.b0269405/?pc=http://item.rakuten.co.jp/az-oil/se033?scid=af_link_tbl&amp;m=http://m.rakuten.co.jp/az-oil/n/se033" target="_blank">AZ チッコイグリースガン・自転車用グリス20gセット [自転車グリース・自転車グリス]</a><br><span style="">価格:617円(税込、送料別)</span><br></p></div></td></tr></table>







##[href*="afl.rakuten.co.jp"]

I use a translator, but thank you. I want to delete the element including the optional href link for each upper table. Can you make such a filter?
 

Blaz

Moderator & Translator
Staff member
Moderator
Safe rule for products which support ext-CSS:
Code:
crusherfactory.net##.entry-content > table[border="0"] > tbody:has(a[href*="afl.rakuten.co.jp"])
Unsafer rule for products which do not support ext-CSS:
Code:
crusherfactory.net##.entry-content > table[border="0"] > tbody
 

vov

New Member
URL: http://keiichi78.blog88.fc2.com/blog-entry-1612.html?sp

source: <table border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"><div style="border:1px solid;margin:0px;padding:6px 0px;width:260px;text-align:center;float:left"><a href="http://hb.afl.rakuten.co.jp/hgc/12ceb223.f6bd71c2.12ceb224.7ab6101d/?pc=http://item.rakuten.co.jp/az-oil/az621/?scid=af_link_tbl&amp;m=http://m.rakuten.co.jp/az-oil/i/10001365/" target="_blank"></a><p style="font-size:12px;line-height:1.4em;text-align:left;margin:0px;padding:2px 6px"><a href="http://hb.afl.rakuten.co.jp/hgc/12ceb223.f6bd71c2.12ceb224.7ab6101d/?pc=http://item.rakuten.co.jp/az-oil/az621/?scid=af_link_tbl&amp;m=http://m.rakuten.co.jp/az-oil/i/10001365/" target="_blank">AZ CKM-001超極圧・水置換オイル 1L[超浸透防錆潤滑剤/多目的潤滑剤/多用途潤滑剤/…</a><br><span style="">価格:2,980円(税込、送料込)</span><br></p></div></td></tr></table>

##[href*="afl.rakuten.co.jp"]

Hello everyone!
Please. It is a similar situation. I want to make all tables including the link of "afl.rakuten.co.jp" invisible without exception for all sites regardless of domain.

In addition, if you want to remove a table that contains the link "amazon.co.jp/****/****/*******-22" instead of "afl.rakuten.co.jp", how do you Should I describe it?
 

Blaz

Moderator & Translator
Staff member
Moderator
This rule will hide it on all sites (unless generichide is active on a site).
Code:
##a[href*="afl.rakuten.co.jp"]
Code:
##a[href*="amazon.co.jp/"][href*="-22"]
 

vov

New Member
## a [href * = "amazon.co.jp/"][href*="-22"]
I learned that two things can be written like this. Thank you.
Can I hide each upper table that contains these?
 

Blaz

Moderator & Translator
Staff member
Moderator
Yes, but it can be dangerous for generic usage and I do not recommend it.
 
Top