Skip to content

Instantly share code, notes, and snippets.

View ecwu's full-sized avatar
😶‍🌫️
Focusing

Jack Wu ecwu

😶‍🌫️
Focusing
View GitHub Profile
@ecwu
ecwu / input-history-windows.html
Last active February 18, 2023 15:20
Custom input-overlay preset that shows keyboard and mouse (only left and right click) history
<!DOCTYPE html>
<html>
<!-- A usable HTML template for input-history overlay using Browser Source and Websocket -->
<!-- ONLY KEYBOARD INPUT AS OF NOW -->
<!-- By: https://github.com/christiankyle-ching/ -->
<!-- Edited By: https://github.com/ecwu/ -->
<head>
<meta charset="utf-8" />
<title>input-history Windows</title>
@ecwu
ecwu / pageBuilder.js
Last active December 24, 2018 08:00
[Server status checker] #JavaScript
function tableMaker(num,name,status,detail,domain,style){
var table = "<td>" + num + "</td>" + "<td>" + name + "</td>" + "<td class='" + style + "'>" + status + "</td>" + "<td>" + detail + "</td>" + "<td>" + domain + "</td>";
return table;
}
function inlineContentsGenerator(order,requestUrl,siteName,id){
respondCode = get_status_code(requestUrl);
if (respondCode === "200"){
var contents = tableMaker(order,siteName,"Service Online",parseInt(respondCode),requestUrl,"btn-success");
}else{