pywb icon indicating copy to clipboard operation
pywb copied to clipboard

Possible to ignore certain URLs? Prevent rewriting of Google's reCAPTCHA script?

Open rikkipitt opened this issue 3 years ago • 1 comments
trafficstars

Hi folks,

Is it possible to not rewrite certain JavaScript files? Occassionally they break and it would be great to try and fix the problem just by preventing the rewriting of that file. For instance, Google's reCAPTCHA seemingly loads perfectly fine, but breaks on submission. Could it be filtered out of the rewrite? Or is there an alternative solution to fix this problem?

Cheers!

rikkipitt avatar Nov 14 '22 16:11 rikkipitt

E.g. I get the following error in the gstatic recaptcha resource:

[Error] TypeError: undefined is not an object (evaluating 'J.__WB_pmw')
	(anonymous function) (recaptcha__en.js:121)
	(anonymous function) (recaptcha__en.js:838)
	(anonymous function) (recaptcha__en.js:406:460)
	(anonymous function) (recaptcha__en.js:844:295)
	Global Code (bframe:286)

rikkipitt avatar Nov 14 '22 16:11 rikkipitt