CloudFlow
CloudFlow copied to clipboard
Add "Open in New Tab" to text boxes
The Open in Fullscreen and Copy to Clipboard actions on text boxes are very useful, but it would also be nice to have an "Open in New Tab" action that would take the content of the text box and open it in a new tab/window. If the content-type is set properly some browsers (Firefox, Chrome) will automatically format the JSON into a readable/explorable format.
I would offer to implement this myself but when I looked at the code for Open in Fullscreen and Copy to Clipboard I realized I have no idea how to do it. I'll be glad to do the work if someone can point me in the right direction.
Hi Bob.
From a quick search I see that Firefox and Chrome have started blocking-top-level-navigations-data-urls (i.e. opening a new tab with the JSON data), and although they say data:application/json
urls are allowed, I wasn't able to make it work.
There are workarounds but they don't achieve the same effect.
If you have a working example I will be happy to assist you adding this code to CloudFlow.