[resolved] Recommended filters for Google Chrome?

Everything about using Adblock Plus on Google Chrome
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

[resolved] Recommended filters for Google Chrome?

Post by hermawanadhis »

why we need "Recommended filters for Google Chrome"? can you explain the example please? Because i have some problem using Adblock Plus for Chrome + custom filter, sometimes it can break another greasemonkey script.
Thanks

Google Chrome 12.0.701.0 + ABP v1.1.636
--edit--
removing this filter

Code: Select all

kaskus.us##DIV[style="height:30px"]
can solve the problem.

thanks for your attention
Last edited by hermawanadhis on Tue Mar 22, 2011 3:53 am, edited 1 time in total.
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Recommended filters for Google Chrome?

Post by Michael »

The Adblock Plus for Chrome transition filters provide a few rules to work around known issues specifically with Adblock Plus for Chrome, such as the lack of support for type options and preventing the injection of a stylesheet to collapse unwanted elements on certain problematic domains. Which Greasemonkey script is affected by the subscription?
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

Re: Recommended filters for Google Chrome?

Post by hermawanadhis »

So if i add this filter

Code: Select all

!NI example.com
in my custom filter, the script will work again?
! NI: Don't inject initialhide stylesheet
! We still need this because some pages' scripts break with initial-hiding (issue 190)
where can i get issue 190 summary?
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

"!NI" filters are about the "initial-hide" feature that has been removed in Adblock Plus 1.1. They have no effect now and should probably be removed (Adblock Plus 1.1 has been released two weeks ago).
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

Re: Recommended filters for Google Chrome?

Post by hermawanadhis »

I have this rules

Code: Select all

kaskus.us###MidGaris
kaskus.us###MidGaris1
kaskus.us###Middle_blue
kaskus.us###Middlehome021
kaskus.us###Middlenahome1
kaskus.us###exp
kaskus.us##A[href="http://kad.kaskus.us"]
kaskus.us##A[href="http://kad.kaskus.us/"]
kaskus.us##DIV[style="height:30px"]
it's sometimes break this script
Kaskus Quick Reply for Greasemonkey.
What is best solution for this?
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

What if you remove the filter kaskus.us##DIV[style="height:30px"]?

Just a guess - http://code.google.com/p/chromium/issue ... l?id=68705. User script size is massive however, how exactly is it broken? What should happen and what happens instead?
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Recommended filters for Google Chrome?

Post by Michael »

I have removed the !NI rules from Adblock Plus for Chrome transition filters as requested.
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

Thanks, Michael. I think the special blocking rules can go as well, they shouldn't be required any more. What we end up with now are the two hiding rules - a good tendency, maybe we can get rid of that list altogether soon.
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Recommended filters for Google Chrome?

Post by Michael »

I have removed all blocking rules as requested.
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

Re: Recommended filters for Google Chrome?

Post by hermawanadhis »

Wladimir Palant wrote:What if you remove the filter kaskus.us##DIV[style="height:30px"]?

Just a guess - http://code.google.com/p/chromium/issue ... l?id=68705. User script size is massive however, how exactly is it broken? What should happen and what happens instead?
i've done your advice but sometime the script still break. thanks for your help
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

Could you answer my questions?
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

Re: Recommended filters for Google Chrome?

Post by hermawanadhis »

Wladimir Palant wrote:Could you answer my questions?
yes, i've remove kaskus.us##DIV[style="height:30px"] and it's still happen. Now i try to remove all filter related to the site and wait for user respond.

one more question
where can i found similar file like patterns.ini in Adblock Plus for Google Chrome? so i can edit the filter directly
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

Wladimir Palant wrote:User script size is massive however, how exactly is it broken? What should happen and what happens instead?
User avatar
hermawanadhis
Posts: 18
Joined: Sun Sep 26, 2010 2:08 am
Location: indonesia
Contact:

Re: Recommended filters for Google Chrome?

Post by hermawanadhis »

Wladimir Palant wrote:
Wladimir Palant wrote:User script size is massive however, how exactly is it broken? What should happen and what happens instead?

Code: Select all

CTRL+Q
should trigger to open QuickReply box (textarea) function, maybe from line 1375.
And if you can open textarea the cursor often dissapear.
Wladimir Palant

Re: Recommended filters for Google Chrome?

Post by Wladimir Palant »

Please open JavaScript Console - Ctrl-Shift-J. Does it show any error messages related to the content script when Ctrl-Q doesn't open the textarea?

Textarea and cursor issues indeed sound very much like http://code.google.com/p/chromium/issue ... l?id=68705.
Post Reply