When I try to run -
var colorSelectorElements = document.getElementsByName('color-selector');
var addInColorListFunctionKey = Object.keys(colorSelectorElements[0]).find(key => key.startsWith('__reactProps'));
in console it works and find the key with __reactProps but Object.keys return [] in mozilla extension.
