lesfurets / zeno-pixel

Pixel monitoring tool
GNU Affero General Public License v3.0
41 stars 6 forks source link

Does not work with #! (hashbang) url provided by sitemap #24

Closed louis49 closed 2 years ago

louis49 commented 8 years ago

nor with '?' like in '?escaped_fragment=' to replace #!

CaptainMat commented 8 years ago

you're right. I succeed to make it work with a workaround in phantomScript.js because right now we're loading the page without hash.

As a workaround, you can replace line 75 in phantomScript.js page.open('http://' + options.url.replace('#!', '?_escaped_fragment_='), function(status) {

But it's ok using '?_escapedfragment='. Do you have an url which is not rendered with '?_escapedfragment='?