-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uBO 1.7.7beta -- Cosmetic filters using [style="..."] not working #1775
Comments
Can you confirm this was with 1.7.7b8? |
Yes, I do confirm. I think I noticed this since 1.7.7b7. (b9 impacted as well). |
Ok I see the issue, it's a code issue. The new code fixes cases like #963, but breaks cosmetic filters which use |
OK. What means exactly "declarative way" ? Should I manually change something in such filters ? |
Meanwhile, since you are using the beta version, use: |
When I use "declarative" I mean the CSS rule will be injected in a |
Wow! works and Thanks for the additional explanations. |
I just noticed that infortunately, the header goes away (same target). |
Try |
As far as I can see after testing several scenarios, that filter seems working without side-effect.:ok_hand: |
Just for the fun of it I also came up with these:
|
WOW! |
What do you think about adding this third filter: I tried out and do not feel that this generates some quirk, unless I am mistaken. Edit: Long page is better: https://forum.pcastuces.com/installer_korora_sur_une_vm_et_sur_disque_dur_a_cote_de_linuxmint__-f8s15194.htm |
Looks fine to me, I hadn't noticed there was an empty row used for spacing. |
Ça va aider quand je vais implémenter #1772. |
Wish I had found this before: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden. This completely solves the issue. |
I'm infortunately not technically advanced enough to understand all the implications of this good news, and the language barrier is another obstacle. |
I am not asking you to understand anything, it's a code repo and I will often add dev notes to issues. |
@gorhill How are you generating XPath? For firefox I once used |
I just craft it manually according my observations of the DOM (in doubt, I consult this cheatsheet). There is also a Copy XPath menu entry in Chromium's inspector (can't see this in Firefox though). |
Reported issue was fixed with 02e6b08. |
Describing the issue
Since uBO 1.7.7_beta_, following sort of filter no longer works:
forum.pcastuces.com##DIV[style="background-color:#eff4fc;margin:auto;font-size:1.2em;text-align:center;width:80%;border:1px solid #c9c9c9;padding:5px;"]
One or more specific URLs where the issue occurs
Screenshot in which the issue can be seen
Steps for anyone to reproduce the issue
My settings
My filter lists
Your custom filters (if any): none
The text was updated successfully, but these errors were encountered: