Skip to content

Instantly share code, notes, and snippets.

function parseUri(s) {
if(typeof s === 'object')
return s;
var re = /^(sips?):(?:([^\s>:@]+)(?::([^\s@>]+))?@)?([\w\-\.]+)(?::(\d+))?((?:;[^\s=\?>;]+(?:=[^\s?\;]+)?)*)(?:\?(([^\s&=>]+=[^\s&=>]+)(&[^\s&=>]+=[^\s&=>]+)*))?$/;
var r = re.exec(s);
if(r) {
return {
// ==UserScript==
// @name ZXHN H218N Unlocker
// @namespace 5051T3
// @version 0.1
// @description try to take over the world!
// @author 5051T3
// @match http://192.168.0.1/getpage.gch*
// @grant none
// ==/UserScript==
@mxs42
mxs42 / ss
Last active January 7, 2018 17:20
alert("TEST2");