2015-01-12 02:03:45 +01:00
<!DOCTYPE html>
< html >
< head >
< title > {title} - ZeroNet< / title >
2015-10-26 14:32:49 +01:00
< meta charset = "utf-8" / >
2015-01-12 02:03:45 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" / >
2015-08-06 00:51:25 +02:00
< link rel = "stylesheet" href = "/uimedia/all.css?rev={rev}" / >
2019-09-15 22:11:51 +02:00
< link rel = "apple-touch-icon" sizes = "180x180" href = "/apple-touch-icon.png" >
2015-02-10 00:08:25 +01:00
{meta_tags}
2015-01-12 02:03:45 +01:00
< / head >
2018-10-20 02:36:08 +02:00
< body style = "{body_style}" class = "{themeclass}" >
2015-01-12 02:03:45 +01:00
2019-01-23 02:15:23 +01:00
< div class = "unsupported" id = "unsupported" >
< script nonce = "{script_nonce}" > document . getElementById ( 'unsupported' ) . style . display = "none" < / script >
< h3 > ZeroNet requires JavaScript support.< / h3 > If you use NoScript/Tor browser: Click on toolbar icon with the notification and choose "Temp. TRUSTED" for 127.0.0.1.
< / div >
2018-11-26 00:03:21 +01:00
< script nonce = "{script_nonce}" >
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
// If we are inside iframe escape from it
2018-03-06 12:01:21 +01:00
if (window.self !== window.top) {
2018-04-18 21:40:29 +02:00
window.open(window.location.toString().replace(/([& ?])wrapper=False/, "$1").replace(/& $/, "").replace(/[& ?]wrapper_nonce=[A-Za-z0-9]+/, ""), "_top");
2018-03-06 12:01:21 +01:00
window.stop();
document.execCommand("Stop", false);
}
// We are opened as a parent-window
else if (window.opener & & window.opener.location.toString()) {
document.write("Opened as child-window, stopping...");
window.stop();
document.execCommand("Stop", false);
}
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
< / script >
2015-02-26 01:32:27 +01:00
< div class = "progressbar" >
< div class = "peg" > < / div >
< / div >
2015-01-12 02:03:45 +01:00
<!-- Fixed button -->
< div class = 'fixbutton' >
2018-10-30 04:47:19 +01:00
< div class = 'fixbutton-text' > < img width = 22 src = '/uimedia/img/logo-white.png' / > < / div >
2015-04-17 23:12:22 +02:00
< div class = 'fixbutton-burger' > ≡ < / div >
2016-03-12 20:35:30 +01:00
< a class = 'fixbutton-bg' href = "{homepage}/" > < / a >
2015-01-12 02:03:45 +01:00
< / div >
<!-- Notifications -->
< div class = 'notifications' >
< div class = 'notification template' > < span class = 'notification-icon' > !< / span > < span class = 'body' > Test notification< / span > < a class = "close" href = "#Close" > × < / a > < div style = "clear: both" > < / div > < / div >
< / div >
2019-02-02 00:12:50 +01:00
<!-- Infopanel -->
2020-09-04 17:55:41 +02:00
< div class = 'infopanel-container' >
< div class = 'infopanel' >
< span class = 'closed-num' > 8< / span >
< div class = "message" >
< span class = 'line line-1' > 8 modified files< / span > < br > < span class = 'line line-2' > content.json, data.json< / span >
< / div >
< a href = "#Publish" class = "button button-submit" > Sign & Publish< / a >
< a href = "#Close" class = "close" > × < / a >
2019-02-05 15:54:32 +01:00
< / div >
2019-02-02 00:12:50 +01:00
< / div >
2015-01-12 02:03:45 +01:00
<!-- Loadingscreen -->
< div class = 'loadingscreen' >
2018-07-10 03:43:57 +02:00
< a href = "/Config" class = "loading-config" > Config< / a >
2015-01-12 02:03:45 +01:00
< div class = 'loading-text console' >
< / div >
< div class = "flipper-container" >
< div class = "flipper" > < div class = "front" > < / div > < div class = "back" > < / div > < / div >
< / div >
< / div >
<!-- Site Iframe -->
2019-10-26 20:36:53 +02:00
< iframe src = 'about:blank' id = 'inner-iframe' sandbox = "allow-forms allow-scripts allow-top-navigation allow-popups allow-modals allow-presentation allow-pointer-lock allow-popups-to-escape-sandbox {sandbox_permissions}" allowfullscreen = "true" webkitallowfullscreen = "true" mozallowfullscreen = "true" oallowfullscreen = "true" msallowfullscreen = "true" > < / iframe >
2015-01-12 02:03:45 +01:00
<!-- Site info -->
2018-11-26 00:03:21 +01:00
< script id = "script_init" nonce = "{script_nonce}" >
2020-09-18 18:43:25 +02:00
iframe_src = "{file_url}{query_string}"
console.log("Changing url from " + document.getElementById("inner-iframe").src + " to " + iframe_src)
document.getElementById("inner-iframe").src = document.getElementById("inner-iframe").src // Workaround for Firefox back button bug
document.getElementById("inner-iframe").src = iframe_src
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
address = "{address}"
Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files
2016-02-10 02:30:04 +01:00
wrapper_nonce = "{wrapper_nonce}"
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
wrapper_key = "{wrapper_key}"
2017-08-15 02:40:38 +02:00
ajax_key = "{ajax_key}"
Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files
2016-02-10 02:30:04 +01:00
postmessage_nonce_security = {postmessage_nonce_security}
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
file_inner_path = "{file_inner_path}"
permissions = {permissions}
show_loadingscreen = {show_loadingscreen}
server_url = '{server_url}'
2018-11-26 00:04:06 +01:00
script_nonce = '{script_nonce}'
2016-05-17 01:17:53 +02:00
2018-06-28 02:39:20 +02:00
if (typeof WebSocket === "undefined") {
tag = document.createElement('div');
2018-06-29 14:18:27 +02:00
tag.innerHTML += "< div class = 'unsupported' > Your browser does not support < a href = 'https://caniuse.com/#search=websocket' > WebSocket connections< / a > .< br > Please use the latest < a href = 'http://outdatedbrowser.com' > Chrome or Firefox< / a > browser.< / div > ";
2018-06-28 02:39:20 +02:00
document.body.appendChild(tag)
}
version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update
2015-05-25 01:26:33 +02:00
< / script >
2018-11-26 00:03:21 +01:00
< script type = "text/javascript" src = "/uimedia/all.js?rev={rev}&lang={lang}" nonce = "{script_nonce}" > < / script >
< script nonce = "{script_nonce}" > setTimeout ( window . wrapper . onWrapperLoad , 1 ) < / script >
2015-01-12 02:03:45 +01:00
< / body >
2015-06-18 13:21:16 +02:00
< / html >