structured-data-sniffer icon indicating copy to clipboard operation
structured-data-sniffer copied to clipboard

(Firefox) Directly loading a ttl document, obscures the original URI

Open mrspeaker opened this issue 5 years ago • 1 comments

I have an issue where if I directly load a .ttl file in Firefox, the plugin intercepts the request and creates a tab with contents moz-extension://6d962960-a724-3b4f-8391-4392f21ef52e/page_panel.html?url=https%3A%2F%2Fexample.net%2Ftest%2Fv1%2Fpathdeets%2Fmy_turtle.ttl&type=turtle&ext=.

Because the document would normally trigger the "download file" dialog (rather than loading in a tab), there is no way to see the original URI that triggered the load. The only place it is displayed in the plugin panel is as a url-encoded query parameter in the tab URI.

It would be good to at print the original URI somewhere so it's easy to copy/paste/modify.

Thanks!

mrspeaker avatar Aug 12 '20 18:08 mrspeaker

@smalinin - Can the target URI (potentially with other document metadata), in this case being https://example.net/test/v1/pathdeets/my_turtle.ttl, be presented in a DIV, with the representation currently delivered by the plugin in a parallel DIV?

TallTed avatar Nov 04 '20 21:11 TallTed