Is it possible to load recaptcha script only in url with fragment identifier (#)?

Is it possible to load recaptcha script only in url with fragment identifier (#)?

File not found.