Reliable Class Names Through Builds
Not sure if this is the best place to post this, but I was wondering if there was any way to reliably retrieve an element through an extension on a website that uses React to obfuscate class names.
For example: Reddit's bottom action bar on the card list of the page you're browsing is "_1ixsU4oQRnNfZ91jhBU74y". My assumption is this will change on next build. If I want to add a custom button to this bottom action bar, is there any way to reliably access this that's future proof, or will I have to do a nesting structure and walk the dom?
You can see an example of what I'm doing on Twitter currently here: https://www.youtube.com/watch?v=fBDBCYgnpkc
Posted Mar 8, 2019, 8:10 PM UTC