From be0766933ffce631f8709ddbf0565f473971ca46 Mon Sep 17 00:00:00 2001
From: Andrew Pollock <andrewpollock@users.noreply.github.com>
Date: Tue, 26 Sep 2023 23:14:29 +1000
Subject: [PATCH] Support running in iframes

Based on https://stackoverflow.com/questions/8917593/do-chrome-extensions-access-iframes this will allow the extension to also operate on iframes, and will address #27
---
 src/manifest.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/manifest.json b/src/manifest.json
index 46ed5a4..4743bf3 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -1,6 +1,6 @@
 {
   "name": "JSON Formatter",
-  "version": "0.7.1",
+  "version": "0.7.2",
   "manifest_version": 3,
   "description": "Makes JSON easy to read. Open source.",
   "homepage_url": "https://github.com/callumlocke/json-formatter",
@@ -13,7 +13,8 @@
     {
       "matches": ["<all_urls>"],
       "js": ["content.js"],
-      "run_at": "document_end"
+      "run_at": "document_end",
+      "all_frames": true
     }
   ],
   "permissions": ["storage"],