Added support for slimmed sites

Added code for Safari
Added support for slimmed sites

Added code for Safari