Block a user
Request to add more setting options
This is a very poor way of handling it.
$_COOKIE["open_in_new_tab"] is needlessly long so it adds a lot of network overhead. Furthermore, you don't sanitize the value at all so a maliciously…