zazi1991i / harviewer

Automatically exported from code.google.com/p/harviewer
0 stars 0 forks source link

Patch: Control click to view resource in new window #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It's not possible to copy the url or view resources in the HAR viewer.  The 
following patch makes ctrl+click open the resource in a new window.

--- webapp/scripts/preview/requestList.js       (revision 230)
+++ webapp/scripts/preview/requestList.js       (working copy)
@@ -203,6 +203,10 @@
                 Lib.cancelEvent(event);
             }
         }
+        else if (Lib.isControlClick(event))
+        {
+            window.open(event.target.innerText || event.target.textContent);
+        }
     },

     toggleHeadersRow: function(row)

Original issue reported on code.google.com by adrian...@gmail.com on 10 Mar 2011 at 8:22

GoogleCodeExporter commented 8 years ago
Patch committed at R232

Thanks for the help!
Honza

Original comment by odva...@gmail.com on 10 Mar 2011 at 8:30

GoogleCodeExporter commented 8 years ago
This is one of 7 issues fixed in HAR Viewer 2.0.8

You can check online:
http://www.softwareishard.com/har/viewer/

Or download a distribution package here:
http://code.google.com/p/harviewer/downloads/list

Please verify

Thanks for the report!
Honza

Original comment by odva...@gmail.com on 13 Mar 2011 at 8:15