If you're a more advanced user you, in most cases, know what you're doing in terms of determining which plugins a WordPress site will need.

It can be really annoying when you want to install lots of plugins on a WordPress site and you are being interrupted to confirm each plugin installation.
Of course folks that are good with the keyboard will hit space to confirm the prompt, others will use wp-cli. There are many options.

Are you sure you want to install this plugin javascript WordPress prompt

This is the code that we use at our qSandbox.com service to save a user a click.
You can insert it into functions.php or create an an mu-plugin.

[code]
/**
* Slavi Marinov | http://orbisius.com | http://qsandbox.com
*/
add_filter('plugin_install_action_links', 'orbisius_sandbox_disable_plugin_install_prompt', 10, 2);

function orbisius_sandbox_disable_plugin_install_prompt($action_links, $plugin ) {
/* array(2) (
[0] => (string) <a class="install-now button" href="http://orbclub.com.clients.com/wp-admin/update.php?action=install-plugin&amp;plugin=theme-check&amp;_wpnonce=8e477639f2" aria-label="Install Theme Check 20141222.1 now">Install Now</a>
[1] => (string) <a href="http://orbclub.com.clients.com/wp-admin/plugin-install.php?tab=plugin-information&#038;plugin=theme-check&#038;TB_iframe=true&#038;width=600&#038;height=550" class="thickbox" aria-label="More information about Theme Check 20141222.1" data-title="Theme Check 20141222.1">More Details</a>
)
*/
foreach ($action_links as $idx => $html_link) {
if ( stripos($html_link, 'install-now') !== false) {
// We can skip JS prompt by changing the install link's css
$html_link = str_ireplace('install-now', 'install-now-no-prompt', $html_link);
$action_links[ $idx ] = $html_link;
}
}

return $action_links;
}
[/code]

Disclaimer: The content in this post is for educational purposes only. Always remember to take a backup before doing any of the suggested steps just to be on the safe side.
Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer