egrep -ir --include=*.{php,html,js} "(document.cookie|setcookie)" .
If you just want file names add the l (lowercase L) flag:
egrep -lir --include=*.{php,html,js} "(document.cookie|setcookie)" .
egrep -ir --include=*.{php,html,js} "(document.cookie|setcookie)" .
If you just want file names add the l (lowercase L) flag:
egrep -lir --include=*.{php,html,js} "(document.cookie|setcookie)" .