get chrome active tab if the code is in extension