Update script.sh

Added cross-browser compatiblity (firefox fork only)