HelloZeroNet/ZeroNet

Allow zite loading outside iframe (for zite owners)

Open

#1262 opened on Jan 27, 2018

View on GitHub
 (29 comments) (1 reaction) (1 assignee)JavaScript (18,200 stars) (2,245 forks)batch import
enhancementhelp wanted

Description

Would it be possible to add a flag that would allow a zite to be loaded directly instead of loading it inside an iframe? The problem is that for tools like vuejs-devtools to work the vue.js script must be present in the page itself. If the script is inside the iframe the tool won't detect the script. I could use that tool by loading the file directly on file:// but then the zeronet api will not work. Maybe the flag can be set only if the person is the site owner.

Thanks

Contributor guide