Search Posts

Category: greasemonkey

Greasemonkey script with xmlhttpRequest – issues with AngularJS ng-switch directive

I have a Greasemonkey script that makes an GM_xmlhttpRequest to parse data from a target html page. It was working until changes were made to the page, and now it looks like AngularJS is causing a part of the target page html content to be omitted from the response data due to the ng-switch directive. The same page displays fine with the desired div block visible when requested normally via the browser. I am trying […]