mirror of
https://github.com/planetrenox/inzerosight.git
synced 2026-03-17 03:01:02 +00:00
build: firefox + chrome extensions
This commit is contained in:
1
dist/chrome/index.css
vendored
Normal file
1
dist/chrome/index.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/open-sans-v44-latin-regular.woff2) format("woff2")}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{font-family:Open Sans,sans-serif;background-color:#002b4d;width:500px;height:320px;line-height:1;border:1.5px solid rgb(0,126,199)}#overbar{padding:1.5%;font-size:10px;font-weight:700;margin-bottom:0;color:#e5f4ff99;border-bottom:1px solid rgb(0,126,199,.5)}#homepage{position:fixed;text-decoration:none;color:#ff0;right:2.5%}#textarea{background-color:#e6e6e6;margin:1.5%;width:95.5%;height:69%;font-family:Open Sans,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:400;line-height:20px}input{font-size:11.5px}#encodeButton{display:inline-block;margin-bottom:0;margin-left:1.5%;color:#002b4d;cursor:pointer}#decodeButton{margin-bottom:0;margin-left:1.5%;color:#002b4d;cursor:pointer}select{display:inline-block;margin-bottom:0;margin-left:1.5%;color:#002b4d;background-color:#e6e6e6;text-align:center;font-size:11px;width:8.5em}#notice{font-size:10px;margin-top:1.5%;padding:.8% 0% 0% 1.7%;color:#e5f4ff99;border-top:1px solid rgb(0,126,199,.5)}#versions{color:#007ec7;text-decoration:none}
|
||||||
31
dist/chrome/index.html
vendored
Normal file
31
dist/chrome/index.html
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<script type="module" crossorigin src="/index.js"></script>
|
||||||
|
<link rel="stylesheet" crossorigin href="/index.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="overbar"><p>inØsight 2.1.0<a id="homepage" href="https://github.com/planetrenox/inzerosight">source</a></p></div>
|
||||||
|
<textarea id="textarea" placeholder="input text here..."></textarea>
|
||||||
|
<input id="encodeButton" type="button" name="button" value="encode to clipboard"/>
|
||||||
|
<input id="decodeButton" type="button" name="button" value="decode from text"/>
|
||||||
|
<select id="encoder">
|
||||||
|
<optgroup label="Standard">
|
||||||
|
<option>ZWUS-3</option>
|
||||||
|
<option>ZWUS-6</option>
|
||||||
|
<option>ZWUS-8</option>
|
||||||
|
</optgroup>
|
||||||
|
</select>
|
||||||
|
<select id="cipher">
|
||||||
|
<optgroup label="Encryption">
|
||||||
|
<option>PLAIN</option>
|
||||||
|
<option>SPECK32_64ECB</option>
|
||||||
|
</optgroup>
|
||||||
|
</select>
|
||||||
|
<p id="notice">
|
||||||
|
notice: some platforms restrict Ø width characters.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2
dist/chrome/index.js
vendored
Normal file
2
dist/chrome/index.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver(t=>{for(const n of t)if(n.type==="childList")for(const d of n.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function u(t){const n={};return t.integrity&&(n.integrity=t.integrity),t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?n.credentials="include":t.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function i(t){if(t.ep)return;t.ep=!0;const n=u(t);fetch(t.href,n)}})();const o={3:{unifier:"",0:"",1:"",2:""},6:{unifier:"",0:"",1:"",2:"",3:"",4:"",5:""},8:{unifier:"",0:"",1:"",2:"",3:"",4:"",5:"",6:"",7:"\uFEFF"},encodeString:(r,e=3)=>Array.from(r,u=>u.codePointAt(0).toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),encodeNumberArray:(r,e=3)=>r.map(u=>u.toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),decodeToString:(r,e=3)=>r.split(o[e].unifier).map(u=>String.fromCodePoint(parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))).join(""),decodeToNumberArray:(r,e=3)=>r.split(o[e].unifier).map(u=>parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))},c=document.getElementById("textarea"),s=document.getElementById("encoder");document.getElementById("cipher");document.getElementById("encodeButton").addEventListener("click",l);document.getElementById("decodeButton").addEventListener("click",l);function l(r){if(c.value===""){c.value="The text box is empty.";return}const e=r.target.id==="encodeButton"?"NO":"YES";c.value=f[e].PLAIN(c.value,s.value.split("-")[1]),e==="NO"&&(c.select(),document.execCommand("copy"),c.value=`Copied to your clipboard.
|
||||||
|
A copy has been placed between these brackets [`+c.value+"]")}var f={NO:{PLAIN:(r,e)=>o.encodeString(r,e)},YES:{PLAIN:(r,e)=>o.decodeToString(r,e)}};
|
||||||
1
dist/chrome/manifest.json
vendored
Normal file
1
dist/chrome/manifest.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"name":"inØsight","version":"2.1.0","author":"planetrenox@pm.me","homepage_url":"https://github.com/planetrenox/inzerosight","description":"Communicate undetected in plain sight.","icons":{"48":"icon_500.png"},"manifest_version":3,"action":{"default_icon":{"48":"icon_500.png"},"default_title":"inØsight","default_popup":"index.html"}}
|
||||||
BIN
dist/chrome/open-sans-v44-latin-regular.woff2
vendored
Normal file
BIN
dist/chrome/open-sans-v44-latin-regular.woff2
vendored
Normal file
Binary file not shown.
1
dist/firefox/index.css
vendored
Normal file
1
dist/firefox/index.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/open-sans-v44-latin-regular.woff2) format("woff2")}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{font-family:Open Sans,sans-serif;background-color:#002b4d;width:500px;height:320px;line-height:1;border:1.5px solid rgb(0,126,199)}#overbar{padding:1.5%;font-size:10px;font-weight:700;margin-bottom:0;color:#e5f4ff99;border-bottom:1px solid rgb(0,126,199,.5)}#homepage{position:fixed;text-decoration:none;color:#ff0;right:2.5%}#textarea{background-color:#e6e6e6;margin:1.5%;width:95.5%;height:69%;font-family:Open Sans,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:400;line-height:20px}input{font-size:11.5px}#encodeButton{display:inline-block;margin-bottom:0;margin-left:1.5%;color:#002b4d;cursor:pointer}#decodeButton{margin-bottom:0;margin-left:1.5%;color:#002b4d;cursor:pointer}select{display:inline-block;margin-bottom:0;margin-left:1.5%;color:#002b4d;background-color:#e6e6e6;text-align:center;font-size:11px;width:8.5em}#notice{font-size:10px;margin-top:1.5%;padding:.8% 0% 0% 1.7%;color:#e5f4ff99;border-top:1px solid rgb(0,126,199,.5)}#versions{color:#007ec7;text-decoration:none}
|
||||||
31
dist/firefox/index.html
vendored
Normal file
31
dist/firefox/index.html
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<script type="module" crossorigin src="/index.js"></script>
|
||||||
|
<link rel="stylesheet" crossorigin href="/index.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="overbar"><p>inØsight 2.1.0<a id="homepage" href="https://github.com/planetrenox/inzerosight">source</a></p></div>
|
||||||
|
<textarea id="textarea" placeholder="input text here..."></textarea>
|
||||||
|
<input id="encodeButton" type="button" name="button" value="encode to clipboard"/>
|
||||||
|
<input id="decodeButton" type="button" name="button" value="decode from text"/>
|
||||||
|
<select id="encoder">
|
||||||
|
<optgroup label="Standard">
|
||||||
|
<option>ZWUS-3</option>
|
||||||
|
<option>ZWUS-6</option>
|
||||||
|
<option>ZWUS-8</option>
|
||||||
|
</optgroup>
|
||||||
|
</select>
|
||||||
|
<select id="cipher">
|
||||||
|
<optgroup label="Encryption">
|
||||||
|
<option>PLAIN</option>
|
||||||
|
<option>SPECK32_64ECB</option>
|
||||||
|
</optgroup>
|
||||||
|
</select>
|
||||||
|
<p id="notice">
|
||||||
|
notice: some platforms restrict Ø width characters.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2
dist/firefox/index.js
vendored
Normal file
2
dist/firefox/index.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver(t=>{for(const n of t)if(n.type==="childList")for(const d of n.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function u(t){const n={};return t.integrity&&(n.integrity=t.integrity),t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?n.credentials="include":t.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function i(t){if(t.ep)return;t.ep=!0;const n=u(t);fetch(t.href,n)}})();const o={3:{unifier:"",0:"",1:"",2:""},6:{unifier:"",0:"",1:"",2:"",3:"",4:"",5:""},8:{unifier:"",0:"",1:"",2:"",3:"",4:"",5:"",6:"",7:"\uFEFF"},encodeString:(r,e=3)=>Array.from(r,u=>u.codePointAt(0).toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),encodeNumberArray:(r,e=3)=>r.map(u=>u.toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),decodeToString:(r,e=3)=>r.split(o[e].unifier).map(u=>String.fromCodePoint(parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))).join(""),decodeToNumberArray:(r,e=3)=>r.split(o[e].unifier).map(u=>parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))},c=document.getElementById("textarea"),s=document.getElementById("encoder");document.getElementById("cipher");document.getElementById("encodeButton").addEventListener("click",l);document.getElementById("decodeButton").addEventListener("click",l);function l(r){if(c.value===""){c.value="The text box is empty.";return}const e=r.target.id==="encodeButton"?"NO":"YES";c.value=f[e].PLAIN(c.value,s.value.split("-")[1]),e==="NO"&&(c.select(),document.execCommand("copy"),c.value=`Copied to your clipboard.
|
||||||
|
A copy has been placed between these brackets [`+c.value+"]")}var f={NO:{PLAIN:(r,e)=>o.encodeString(r,e)},YES:{PLAIN:(r,e)=>o.decodeToString(r,e)}};
|
||||||
1
dist/firefox/manifest.json
vendored
Normal file
1
dist/firefox/manifest.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"name":"inØsight","version":"2.1.0","author":"planetrenox@pm.me","homepage_url":"https://github.com/planetrenox/inzerosight","description":"Communicate undetected in plain sight.","icons":{"48":"icon_500.png"},"manifest_version":2,"browser_action":{"browser_style":false,"default_icon":"icon_500.png","default_title":"inØsight","default_popup":"index.html"},"content_security_policy":"script-src 'self'; style-src 'self';","browser_specific_settings":{"gecko":{"id":"{0a73f41c-c59c-404b-9e07-f7392fa830d4}"}}}
|
||||||
BIN
dist/firefox/open-sans-v44-latin-regular.woff2
vendored
Normal file
BIN
dist/firefox/open-sans-v44-latin-regular.woff2
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user