Joined April 2018
·

RJLeyra

Russell
Russell
·
Vancouver
·
·

Posted to One line browser notepad over 1 year ago

Lot of great use, can drag pictures into the contenteditable. Here is a texteditor with a regular expression textfilter and headless popout of the textareas value. Type !html then press enter. Could add more buttons and macros, I tried to keep the amount of chars down for mobile passwordmanager limits. For FireFox or mobiles with data: protocol scheme.

data:text/html, <html><style>html,body{height:100%;width:100%;margin:0;border:none;}textarea{height:80%;width:inherit;background:black;color:white;font-family:courier;}</style><textarea id="ta" name="ta" onkeyup="get('ta')" onkeydown="get('ta')" onblur="x=this.value"></textarea><br><button onclick="blx()">TEST</button><script>function blx(){myWindow = window.open("about:blank","myWindow1","height=550 width=1000");myWindow.document.write(x);}</script><script>function get(e){var tax = document.getElementById(e);var rgx = /!html\n/gi;tax.value = tax.value.replace(rgx,'<!DOCTYPE html>\n<html>\n <head></head>\n<body>\n\n</body>\n</html>');}</script></html>

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills