Use SpecialPowers in place of switch_to_frame for getting and setting settings
Remove the permission at the end