if loaded over ssl and iframe is whitelisted, set its source to https
night theme: add workaround for grayscale filter not working on firefox, other minor tweaks