You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, changes to Facebook frequently break some or all of the add-on's functionality. This is because the framework that Facebook uses appears to use randomly generated classes and IDs, which seem to change often and breaks the CSS that the add-on is using.
If possible, it would be cool if there was a better way to deploy CSS changes to the add-on or, better yet, a way to prevent the add-on from breaking when there are changes.
The text was updated successfully, but these errors were encountered:
So you can match the HTML elements a bit more reliably by searching for the aria-label properties. For example, the reactions on posts have aria-label="See who reacted to this" on the English localization, so a css rule span[aria-label="See who reacted to this"] {} would match it.
But it is a bit too "inner" and does not match everything needed. A few parent DIVs would be better off to be removed, but since CSS does not have a parent selector - I imagine it could only be implemented with JS traversal, i.e. search by the aria first and then go up the hierarchy to remove the parents.
And also, it is localization-specific, so some way to gather all the localized aria texts would be needed.
Currently, changes to Facebook frequently break some or all of the add-on's functionality. This is because the framework that Facebook uses appears to use randomly generated classes and IDs, which seem to change often and breaks the CSS that the add-on is using.
If possible, it would be cool if there was a better way to deploy CSS changes to the add-on or, better yet, a way to prevent the add-on from breaking when there are changes.
The text was updated successfully, but these errors were encountered: