Page 1 of 2

[resolved] Recommended filters for Google Chrome?

PostPosted: Sun Mar 13, 2011 12:52 pm
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

Re: Recommended filters for Google Chrome?

PostPosted: Sun Mar 13, 2011 7:13 pm
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?

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 1:02 am
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?

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 11:26 am
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).

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 2:56 pm
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?

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 3:12 pm
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?

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 6:45 pm
by Michael
I have removed the !NI rules from Adblock Plus for Chrome transition filters as requested.

Re: Recommended filters for Google Chrome?

PostPosted: Mon Mar 14, 2011 10:49 pm
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.

Re: Recommended filters for Google Chrome?

PostPosted: Tue Mar 15, 2011 6:52 pm
by Michael
I have removed all blocking rules as requested.

Re: Recommended filters for Google Chrome?

PostPosted: Wed Mar 16, 2011 12:49 am
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

Re: Recommended filters for Google Chrome?

PostPosted: Wed Mar 16, 2011 11:15 am
by Wladimir Palant
Could you answer my questions?

Re: Recommended filters for Google Chrome?

PostPosted: Fri Mar 18, 2011 9:09 am
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

Re: Recommended filters for Google Chrome?

PostPosted: Fri Mar 18, 2011 10:00 am
by Wladimir Palant
Wladimir Palant wrote:User script size is massive however, how exactly is it broken? What should happen and what happens instead?

Re: Recommended filters for Google Chrome?

PostPosted: Fri Mar 18, 2011 11:01 am
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.

Re: Recommended filters for Google Chrome?

PostPosted: Fri Mar 18, 2011 11:04 am
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.