ng-inspector icon indicating copy to clipboard operation
ng-inspector copied to clipboard

Breaks with the file:/// protocol

Open rev087 opened this issue 11 years ago • 4 comments

Nothing happens when the user clicks on the toolbar icon to toggle the inspector while viewing a page with the file:/// protocol.

jhnem5h

rev087 avatar May 23 '14 00:05 rev087

Affects both Chrome & Safari; 0.4.2

pifst avatar May 23 '14 00:05 pifst

In Chrome, does this happen even if Allow access to file URLs is checked in about:extensions?

jimthedev avatar May 23 '14 04:05 jimthedev

@jcummins no, setting that option does not make it work. As far as I can tell, there is no way to access the DOM and/or JavaScript context for file:/// URLs

rev087 avatar May 25 '14 00:05 rev087

The Inspector pane will open if the app is connected with a server, which can easily be done with SimpleHTTPServer if you don't want to write up any server side code.

nathanBrenner avatar Nov 19 '15 22:11 nathanBrenner