Detect targets for API calls about tab relations based on "browser" element, instead of "Window" objects