added external window functions: facebook, github etc..