Neat suggestion. It could totally be uploaded to a cdn where people can simply import it and once a change occurs on Gmail and the script gets updated, everybody benefits.
That being said, you should be able to use this to load new selector strings for the API:
https://addons.mozilla.org/en-US/developers/docs/sdk/latest/...