Ben
Ben
The sum, you mean?
I also chucked enhancedsteam.js through http://jshint.com/ It's not pretty and I think we oughta go through it and give it a clean up.
It notes 52 warnings in only 16% of the file, of which the undefined variables do not count. That's pretty bad :-1:
This is something that I definitely think would be great. It'll definitely make things easier for TOs, as decks will be prescreened for legality.
You can get some of these from the browser itself. Might be worth considering.
The browser​ is set by the user.
I actually addressed this issue in https://github.com/reddit/reddit-companion/pull/67, over 2 weeks ago. Your method is actually stripping the /r/ and then it's being reprepended later. My method simply removes the prepending...