JSONovich / jsonovich

A webextension for Firefox. Pretty-prints JSON content in the browser for easy, unobtrusive viewing.
https://addons.mozilla.org/firefox/addon/jsonovich/
Mozilla Public License 2.0
7 stars 3 forks source link

Not working inside a frameset #51

Closed LarryGT closed 6 years ago

LarryGT commented 6 years ago

Hi, the addon does not work when i use a frameset. When the url is opened in an extra tab everything is ok. I have a simple frameset with one frame containing a list of test-urls and one frame to display the response. In this case the addon does not work. The code is just displayed as text normally by Firefox

welwood08 commented 6 years ago

Pushed new version before remembering this was another easy fix. /o\

LarryGT commented 6 years ago

Hi, i tested version 2.0.2 and it is still not working with a frameset

welwood08 commented 6 years ago

Would you be able to provide a test case? I assumed the solution was obvious since I was previously only formatting main frames and not subframes, but I didn't actually test it.

LarryGT commented 6 years ago

Hi, i attached a simple example.

FrameTest.zip

welwood08 commented 6 years ago

This fix is available in version 2.1.2 now, thanks again.

LarryGT commented 6 years ago

Thanks