ericduran / chromeHAR

HAR viewer that mimics (or at least tries really hard to) Chromes network tab

Home Page:https://ericduran.github.io/chromeHAR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load HAR from URL

BlackthornYugen opened this issue · comments

I like to through har files on my pastebin account; it would be nice if they could be loaded directly.

It would be really handy if you could share a HAR with a link like this: http://ericduran.github.io/chromeHAR/http%3A%2F%2Fpastebin.com%2Fxxxxxxx

Or maybe just give the option to paste json into a textarea?

Edit Found that cvan already added this feature but it doesn't look like I can use pastebin because of cross site stuff. My Attempt to use pastebin

pastebin.com should be serving that with CORS headers.

I would suggest contacting pastebin.com or a CORS'd service such as dpaste.com:

http://ericduran.github.io/chromeHAR/?url=http://dpaste.com/2R2Q1KM.txt


an alternative is to use a service like https://jsonp.nodejitsu.com/ (or add a server as a dependency) as a proxy for GET requests to add CORS headers. but that's hacky and not worth the maintenance headache IMO.