I am looking to identify all the classes with styling attributes defined using either vanilla JS or jQuery. Specifically, I want to find classes that have the border
style defined along with its value. It would be great if I could also modify these classes by changing or deleting the border. If needed, I can query elements using these classes and switch them to new custom classes.
I am working on an extension to customize the styling of a popular website. The issue is that all the class names are meaningless and constantly changing (they are named "class[1..n]"). This makes it challenging to target specific elements based on class names. The website also heavily uses inline styles, which I have been able to work with so far. However, there is a class (changing names from "class12" to "class26" and so on) that controls the border styling, which I want to remove. Currently, I have to navigate through the content within the border to delete the div with the border class, which is quite frustrating.