lexrus/HighlightJSON

Question is it working?

asyba opened this issue · 3 comments

asyba commented

What is suppose to do the app?
I have it on my iphone and viewing a json output url on safari and after click the extension it is only showing a popout black text with a url to highlight.js

It's limit to "matches": [ "*://*/*.json" ]. Try open a json file end with ".json" extension.
https://github.com/lexrus/HighlightJSON/blob/main/HighlightJSON%20Extension/Resources/manifest.json#L19

Apparently it should look after the content type header of application/json for any text response. I'm looking for a proper and efficient way to do that.

asyba commented

It's limit to "matches": [ "*://*/*.json" ]. Try open a json file end with ".json" extension. https://github.com/lexrus/HighlightJSON/blob/main/HighlightJSON%20Extension/Resources/manifest.json#L19

Apparently it should look after the content type header of application/json for any text response. I'm looking for a proper and efficient way to do that.

why no make it without restriciton ?any webstie that I want to format the json that can have or not content type or url with .json or not .json extension.

asyba commented

oh its on the library itself and not your app