Added smart handler for youtube and google pages