greim / hoxy

Web-hacking proxy API for node
http://greim.github.io/hoxy/
MIT License
597 stars 97 forks source link

Hoxy breaks statcounter.com #68

Open sholladay opened 8 years ago

sholladay commented 8 years ago

I haven't yet been able to figure out why this happens, so help would be appreciated.

Spinning up and using a barebones proxy (as well as my real-world app), this site does not render correctly. http://gs.statcounter.com/

Reproducible code:

'use strict';
const hoxy = require('hoxy'),
      proxy = hoxy.createServer();
proxy.listen(8000);

Steps:

  1. Launch a server with the above code.
  2. Configure your browser/OS to use that forward proxy.
  3. In your browser, visit: http://gs.statcounter.com/
  4. Toggle your settings for using the proxy on and off and reload the page in between, to witness the difference in rendering.

Current behavior: The page displays an error message:

Sorry, could not understand url: #browser-ww-monthly-201410-201510

Expected behavior: The site appears identical whether visited through the proxy or not.