Custom cosmetic filter fails to apply
Hi, sometimes the cosmetic filter doesnt work after reload, example on this page: Startpage.com I'am trying to filter the red box, it works with the content but the red box itself always appears again after reloading, so the filter
footer > .box-red
doesn't work
I don't see a red box.
sorry: https://startpage.com/deu/?
Worked fine from here, red box is gone for good.
Need: your filter lists + any and all settings different from default settings.
Let me see, you were asking me earlier about dynamic filtering in #974... Did you create an allow rule (green) for startpage.com?
no I didnt, had the problem already before playing with the dynamic rules but I solved it now with adding the rule startpage.com###footer > .box-red manually to the filterlist (my filters). But if I try using the pipette, it disappears, and comes back after reloading
That's what I used, the eye dropper.
You did not use the eye dropper originally, or else your filter would have been startpage.com###footer > .box-red, while you said it was ###footer > .box-red.
mh ok, I'am using Firefox might be interesting?
Me too.
Try to reproduce your own test case as described here, see for yourself.
The only way for the red box to re-appear is to disable cosmetic filtering. So you had somehow disabled cosmetic filtering. As said, becareful with the settings, and you won't be able to reproduce your own case.
- Ensure uBlock is not disabled for the site
- Ensure you do not have a dynamic rule which disable cosmetic filtering
- Select the eye dropper
- Select the red box
- Pick the filter
#footer > .box-red - Click Create
Filter created. Reload page, red box doesn't come back.
Id did use it originally, but that might be the proble. I reporduced it now.
- I deleted all https://startpage.com/deu filters in myFilters
- I reloaded and used the eye dropper
- It creates the rule ###footer > .box-red > a[href="/deu/cebit.html"]
- then the red box is still there
- I use eyedropper again for the red box
- it shows rule ###footer > .box-red
- but after reloading the red box is still there and the rule of 6. isnt saved
If I change in 3. the rule manually (in the confirm task) in ###footer > .box-red --> it works
seems that the first rule blocks saving the second one?
No, it worked fine, even if you create the wrong filter the first time.
This is the filters which were created and I can't bring back the red box:
! 3/9/2015, 7:42:38 PM https://startpage.com/deu/
startpage.com###footer > .box-red > a[href^="/deu/cebit.html"]
! 3/9/2015, 7:42:44 PM https://startpage.com/deu/
startpage.com###footer > .box-red
You will have to paste here the same filters which you have in your custom filters if you want this issue to go somewhere. I just can't reproduce.
Note that you still didn't answer https://github.com/gorhill/uBlock/issues/976#issuecomment-77958657. I can't help you if you do not provide key information.
As I told, I can't paste it, because the second one isn't saved in the filter list! Thats what is written in myFilters after I did step 1-7:
startpage.com###footer > .box-red > a[href="/deu/cebit.html"]
startpage.com###footer > .box-red > a[href="/deu/cebit.html"] does not get rid of the red box.
Just pick the right one in the list of candidate filters.
So the second rule I created using the eyedropper is unsaved. how can I get: "any and all settings different" to you?