Adding pop-up box placeholder and page detection to optimize the extension more