Add on screen control for some hot keys. To toggle it, click/tap currently opened tab.

This commit is contained in:
NI
2019-09-11 11:31:08 +08:00
parent c5927a5b5d
commit 6585810cc4
9 changed files with 843 additions and 19 deletions

View File

@@ -99,7 +99,7 @@ const hostnameCharators = {
* @returns {boolean} Return true if given string is all number, false otherwise
*
*/
function isNumber(d) {
export function isNumber(d) {
for (let i = 0; i < d.length; i++) {
if (!numCharators[d[i]]) {
return false;
@@ -117,7 +117,7 @@ function isNumber(d) {
* @returns {boolean} Return true if given string is all hex, false otherwise
*
*/
function isHex(d) {
export function isHex(d) {
let dd = d.toLowerCase();
for (let i = 0; i < dd.length; i++) {