update todo
fix error when tab is Chrome's PDF viewer because it has no head element