From ee4b4d0e6d1c9dcbc7b6b05dc1231b877f57ffb0 Mon Sep 17 00:00:00 2001 From: blumed Date: Thu, 13 Jun 2024 22:15:14 -0500 Subject: [PATCH] adding simple bookmarklet to readme file --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7b535297a..fb27f1a44 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,12 @@ Send your JSON to JSON Hero in a variety of ways } ``` +- Viewing a json file in the browser? Use this bookmarklet to open JSON Hero with file contents: + + ```javascript + javascript:(function(){try{const o=window.location.href;window.open(`https://jsonhero.io/new?url=${o}`)}catch(o){console.log(o)}}()); + ``` + ### Column view Inspired by macOS Finder, Column View is a new way to browse a JSON document.