How To Include JavaScript Files Only In Single Posts?

if you want it on all single posts as well as pages & custom post types, use is_singular() instead of is_single()

& just in case you’re using it on the template, this code goes in functions.php

UPDATE IN RESPONSE TO THE COMMENTS

write this code just above your wp_head() function in header.php

global $wp_scripts;
var_dump($wp_scripts);

This will display on the site all the info related to scripts registered in wordpress to be displayed. Read it & then see what scripts you want to display & what scripts are to be removed with wp_dequeue_script

To determine which page you are removing scripts from, you may look for various Conditional Tags

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş