cookies.txt
cookies.txt copied to clipboard
set timeout to render the popup content
At some website, the popup is too small and does not resize to fit the content. Please have a look at the snapshot.

Chrome Version: 57.0.2987.133 (64-bit)
I didn't figure out the root cause, but I am assuming that the popup fails to resize itself to fit the content. So I move the document.write(...)
statement in a timeout to allow the popup to re-render after it has been initialized.