How can the scrollbars property be adjusted in a window.open function to disable them?

To disable scrollbars in a window opened using the window.open function, you can set the scrollbars property to 'no' in the windowFeatures parameter. This will prevent scrollbars from appearing in the new window.

$windowFeatures = "scrollbars=no";
$window = "window.open('https://example.com', '_blank', '$windowFeatures')";
echo "<script>$window;</script>";