Jon Atkins
d9abda87f3
remove confirm prompt on server-returned javascript
...
more people ask about what this prompt is about, and answering 'no' generally breaks botguard at this point.
if you don't like the possibility of IITC running server-returned code, then disable the botguard interface completely - we're already running it on page load, so there's no more risk doing it here too
2015-04-27 21:56:23 +01:00
Jon Atkins
54a6861aef
code to easily disable botguard, if desired
...
not recommended for general use, but can be good for occasional troubleshooting
2015-03-05 18:55:28 +00:00
Jon Atkins
423c8043a6
restore the 'confirm' prompt on server-supplied javascript to execute
...
i have some minor concerns about some of the code changes in the 6th Feb 2015 stock site update, so may be better left in for now
fixes (kinda) #941
2015-02-07 00:09:57 +00:00
Jon Atkins
7cc8480467
botguard groups: rather than emulating the now removed group_a_methods array, we create an object containing the a/b flag
...
this way, if a method isn't found - we correctly fail to send a request, rather than falling back to assuming it's group-b
2015-02-06 21:53:56 +00:00
Jon Atkins
0063646156
iitc botguard interface: i've had a chance to test a real-world case of the server asking the client to run a script, which is when it switches to a new key
...
seems OK, so remove the user prompt - it will break badly if declined. logging remains, to help diagnose issues
also fix silly typo that prevented it from actually working right :)
2015-02-02 17:29:01 +00:00
Jon Atkins
b784da3b0f
fix RE used to match minified names - they can include $
...
change botguard-related group names to match stock site change
2015-01-30 00:45:08 +00:00
Jon Atkins
a2eeedd0c6
botguard interface: fix IITCs response handling - some minor changes, and a major change in server response processing
...
also added some additional error checks so changes in this area are less lkikely to send bad data to the niantic servers
2015-01-29 14:51:29 +00:00
Jon Atkins
e2e2f09e94
quick hack fix, done right
...
niantic removed the list of protected methods - all methods are protected
there's still a short list of group-a protected, with the rest being group-b
2014-11-07 20:33:47 +00:00
Jon Atkins
24f058bf4e
botguard interface fixes:
...
- stock site was updated to ignore entries in the pending data queue after a time
- correctly process the 'c' response from the server - it's an array, not a single item (oops!)
2014-10-01 23:49:55 +01:00
Jon Atkins
92aae954a8
botguard: first pass at full implementation. fingers crossed...
2014-09-15 20:50:58 +01:00
Jon Atkins
bbbc3493c9
botguard: work in progress
...
response processing - untested
2014-09-15 20:01:09 +01:00
Jon Atkins
d469c83d4b
botguard interface: fix extra_request_params
2014-09-14 05:24:21 +01:00
Jon Atkins
2579536f78
work in progress: intel site 'botguard' interface.
...
not yet complete. initialisation is probably right - but need to check/complete the request param creation, and implement the response processing
2014-09-14 05:15:07 +01:00