1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-23 23:33:12 +00:00

Update GreaseMonkey scripts; WiiMote function

This commit is contained in:
Phantop 2019-01-27 13:43:12 -05:00
parent e3c5d51374
commit 28b9ea68d2
5 changed files with 116 additions and 55 deletions

View file

@ -0,0 +1,4 @@
# Defined in /tmp/fish.vIjUwI/wiimote.fish @ line 1
function wiimote
sudo modprobe -r hid-wiimote
end

View file

@ -1,5 +1,5 @@
[FileDialog] [FileDialog]
history=@Invalid() history=@Invalid()
lastVisited=file:///home/glados/Downloads lastVisited=file:///home/glados/Documents
qtVersion=5.11.2 qtVersion=5.11.2
viewMode=Detail viewMode=Detail

3
.gitmodules vendored
View file

@ -61,3 +61,6 @@
[submodule ".config/nvim/bundle/hexmode"] [submodule ".config/nvim/bundle/hexmode"]
path = .config/nvim/bundle/hexmode path = .config/nvim/bundle/hexmode
url = https://github.com/fidian/hexmode.git url = https://github.com/fidian/hexmode.git
[submodule ".local/share/qutebrowser/greasemonkey/Iridium"]
path = .local/share/qutebrowser/greasemonkey/Iridium
url = https://github.com/ParticleCore/Iridium.git

@ -0,0 +1 @@
Subproject commit 37d27616cbfb70b0296b9a16d41ff31986d58575

View file

@ -3,13 +3,13 @@
// @namespace AdsBypasser // @namespace AdsBypasser
// @description Bypass Ads // @description Bypass Ads
// @copyright 2012+, Wei-Cheng Pan (legnaleurc) // @copyright 2012+, Wei-Cheng Pan (legnaleurc)
// @version 6.25.0 // @version 6.28.0
// @license BSD // @license BSD
// @homepageURL https://adsbypasser.github.io/ // @homepageURL https://adsbypasser.github.io/
// @supportURL https://github.com/adsbypasser/adsbypasser/issues // @supportURL https://github.com/adsbypasser/adsbypasser/issues
// @updateURL https://adsbypasser.github.io/releases/adsbypasser.full.es7.meta.js // @updateURL https://adsbypasser.github.io/releases/adsbypasser.full.es7.meta.js
// @downloadURL https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js // @downloadURL https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js
// @icon https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.25.0/resources/img/logo.png // @icon https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.28.0/resources/img/logo.png
// @grant GM_deleteValue // @grant GM_deleteValue
// @grant GM_getResourceURL // @grant GM_getResourceURL
// @grant GM_getValue // @grant GM_getValue
@ -24,9 +24,9 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @grant unsafeWindow // @grant unsafeWindow
// @resource alignCenter https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.25.0/resources/css/align_center.css // @resource alignCenter https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.28.0/resources/css/align_center.css
// @resource scaleImage https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.25.0/resources/css/scale_image.css // @resource scaleImage https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.28.0/resources/css/scale_image.css
// @resource bgImage https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.25.0/resources/img/imagedoc-darknoise.png // @resource bgImage https://raw.githubusercontent.com/adsbypasser/adsbypasser/v6.28.0/resources/img/imagedoc-darknoise.png
// @run-at document-start // @run-at document-start
// @include http://* // @include http://*
// @include https://* // @include https://*
@ -1019,7 +1019,7 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: { rule: {
host: [ host: [
/^openload\.co$/, /^openload\.co$/,
/^oload\.(stream|info|site|tv|win|download|cloud|cc)$/, /^oload\.(stream|info|site|tv|win|download|cloud|cc|fun)$/,
], ],
path: /^\/f\/.*/, path: /^\/f\/.*/,
}, },
@ -1126,6 +1126,17 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(m.query[1]); await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(m.query[1]);
}, },
}); });
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: {
host: /^1(be|dl)\.biz$/,
path: /^\/[jt]\.php$/,
query: /^\?s=/,
},
async ready () {
const a = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('.j-link');
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(a.href);
},
});
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: { rule: {
host: /^1ink\.(cc|info)$/, host: /^1ink\.(cc|info)$/,
@ -1807,7 +1818,7 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^www\.(telondasmu|siotong|siherp)\.com$/, /^www\.(telondasmu|siotong|siherp)\.com$/,
/^www\.greget\.space$/, /^www\.greget\.space$/,
], ],
path: /^\/\w+$/, path: /^\/.+$/,
}, },
async ready (m) { async ready (m) {
const mapper = hostMapper(m.host[0]); const mapper = hostMapper(m.host[0]);
@ -2443,29 +2454,30 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^(tmearn|payshorturl|urltips|shrinkearn|itiad|cutsouf)\.com$/, /^(tmearn|payshorturl|urltips|shrinkearn|itiad|cutsouf)\.com$/,
/^(earn-url|bit-url|cut-win|link-zero|cut-earn|oturl|glory-link)\.com$/, /^(earn-url|bit-url|cut-win|link-zero|cut-earn|oturl|glory-link)\.com$/,
/^(vy\.)?adsvy\.com$/, /^(vy\.)?adsvy\.com$/,
/^(linkexa|admew|shrtfly|kuylink|cut4links|adskipme)\.com$/, /^(linkexa|admew|shrtfly|kuylink|cut4links|adskipme|skipurls)\.com$/,
/^cutpaid\.com$/, /^(cutpaid|smarteasystudy|cyahealth|ershadat|z2i)\.com$/,
/^(safelinku|tinylinks|licklink|linkrex|zlshorte)\.net$/, /^(safelinku|tinylinks|licklink|linkrex|zlshorte)\.net$/,
/^(vnurl|vinaurl|foxurl|short2win|cashat|shrtfly)\.net$/, /^(vnurl|vinaurl|foxurl|short2win|cashat|shrtfly)\.net$/,
/^(link4win|linksad|topurl)\.net$/, /^(link4win|linksad|topurl|xemlink)\.net$/,
/^(trlink|wolink|tocdo|megaurl)\.in$/, /^(123link|clik|tokenfly|getlink|psl|pss)\.pw$/,
/^(www\.)?lwt\.pw$/,
/^(trlink|wolink|tocdo)\.in$/,
/^(petty|skips|tr|zutrox)\.link$/, /^(petty|skips|tr|zutrox)\.link$/,
/^megaurl\.(in|link)$/,
/^idsly\.(com|bid)$/, /^idsly\.(com|bid)$/,
/^(adbilty|adpop|payskip|wicr|ujv|tpx|adsrt)\.me$/, /^(adbilty|adpop|payskip|wicr|ujv|tpx|adsrt)\.me$/,
/^wi\.cr$/, /^wi\.cr$/,
/^(oke|cuon|linktor|flylink)\.io$/, /^(oke|cuon|cuio|linktor|flylink)\.io$/,
/^(3bst|coinlink|itiurl|coshink)\.co$/, /^(3bst|coinlink|itiurl|coshink|link5s)\.co$/,
/^(shink|shrten|gg-l|vnurl)\.xyz$/, /^(shink|shrten|gg-l|vnurl)\.xyz$/,
/^mlink\.club$/, /^mlink\.club$/,
/^(igram|gram)\.im$/, /^(igram|gram)\.im$/,
/^(clk|cll)\.(press|sh|icu)$/, /^(clk|cll)\.(press|ink|sh|icu)$/,
/^short\.pe$/, /^short\.pe$/,
/^urlcloud\.us$/, /^urlcloud\.us$/,
/^(123link|clik|tokenfly|getlink|psl)\.pw$/,
/^(www\.)?lwt\.pw$/,
/^(icutit|earnbig|cutearn)\.ca$/, /^(icutit|earnbig|cutearn)\.ca$/,
/^adzurl\.cf$/, /^(adzurl|link2link)\.cf$/,
/^koylinks\.win$/, /^(koylinks|buy-in-599rs)\.win$/,
/^lopte\.pro$/, /^lopte\.pro$/,
/^(www\.)?pnd\.tl$/, /^(www\.)?pnd\.tl$/,
/^(tny|tiny)\.ec$/, /^(tny|tiny)\.ec$/,
@ -2474,6 +2486,9 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^lyon\.kim$/, /^lyon\.kim$/,
/^linkvip\.tk$/, /^linkvip\.tk$/,
/^stfly\.press$/, /^stfly\.press$/,
/^businessiss2\.info$/,
/^eatings\.stream$/,
/^8o\.ee$/,
], ],
}, },
async ready () { async ready () {
@ -2513,14 +2528,11 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: { rule: {
host: [ host: [
/^(cut-urls|linclik|premiumzen|shrt10|by6dk|mikymoons|man2pro)\.com$/, /^(cut-urls|linclik|premiumzen|shrt10|by6dk|mikymoons|man2pro)\.com$/,
/^(mykinggo|win4cut|link4win)\.com$/, /^(mykinggo|win4cut|link4win|loadurl|cut4link|raolink|adshorte)\.com$/,
/^short\.pastewma\.com$/, /^short\.pastewma\.com$/,
/^linkfly\.gaosmedia\.com$/, /^linkfly\.gaosmedia\.com$/,
/^adshorte\.com$/,
/^(www\.)?viralukk\.com$/, /^(www\.)?viralukk\.com$/,
/^(www\.)?niagoshort\.com$/, /^(www\.)?niagoshort\.com$/,
/^(loadurl)\.com$/,
/^(cut4link|raolink)\.com$/,
/^www\.worldhack\.net$/, /^www\.worldhack\.net$/,
/^(eklink|vivads)\.net$/, /^(eklink|vivads)\.net$/,
/^(urle|adshort)\.co$/, /^(urle|adshort)\.co$/,
@ -2533,9 +2545,9 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^shortad\.cf$/, /^shortad\.cf$/,
/^123link\.(io|co|press|pro)$/, /^123link\.(io|co|press|pro)$/,
/^git\.tc$/, /^git\.tc$/,
/^adfu\.us$/, /^(adfu|linku)\.us$/,
/^shortit\.ca$/, /^shortit\.ca$/,
/^spamlink\.org$/, /^(spamlink|idsly)\.org$/,
/^royurls\.bid$/, /^royurls\.bid$/,
/^za\.gl$/, /^za\.gl$/,
], ],
@ -2670,7 +2682,7 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
super(); super();
} }
async getMiddleware () { async getMiddleware () {
return await getJQueryForm('#mylink'); return await getJQueryForm('#mylink1');
} }
} }
class StagedHandler extends AbstractHandler { class StagedHandler extends AbstractHandler {
@ -3078,6 +3090,22 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(s); await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(s);
}, },
}); });
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: {
host: /^probusinesshub\.com$/,
},
async ready () {
let f = _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].$('form[id$=-subscribe]');
if (f) {
f.action = f.action.replace('http:', 'https:');
f.submit();
return;
}
f = _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].searchFromScripts(/location\.href="([^"]+)"/);
f = f[1];
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(f);
},
});
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: 'http://richlink.com/app/webscr?cmd=_click&key=*', rule: 'http://richlink.com/app/webscr?cmd=_click&key=*',
async ready () { async ready () {
@ -3430,7 +3458,8 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^ww[23]\.picnictrans\.com$/, /^ww[23]\.picnictrans\.com$/,
/^(azhie|skinnycat)\.net$/, /^(azhie|skinnycat)\.net$/,
/^ww2\.awsubs\.co$/, /^ww2\.awsubs\.co$/,
/^plantaheim\.web\.id$/, /^plantaheim(\.web\.id|\.com)$/,
/^irisvera\.com$/,
], ],
query: /^\?d=([a-zA-Z0-9/=]+)$/, query: /^\?d=([a-zA-Z0-9/=]+)$/,
}, },
@ -3453,6 +3482,7 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^(www\.)?kakkoiisafe\.us$/, /^(www\.)?kakkoiisafe\.us$/,
/^(www\.)?kurosafe\.(website|online)$/, /^(www\.)?kurosafe\.(website|online)$/,
/^(fmlawkers|indexmovie)\.club$/, /^(fmlawkers|indexmovie)\.club$/,
/^micin\.online$/,
], ],
query: [ query: [
/^\?url=([a-zA-Z0-9/=]+)$/, /^\?url=([a-zA-Z0-9/=]+)$/,
@ -3464,10 +3494,11 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
host: [ host: [
/^sehatlega\.com$/, /^sehatlega\.com$/,
/^businessforyouand\.me$/, /^businessforyouand\.me$/,
/^plantaheim\.web\.id$/, /^plantaheim(\.web\.id|\.com)$/,
/^davinsurance\.com$/, /^davinsurance\.com$/,
/^naturalhealthy\.xyz$/, /^naturalhealthy\.xyz$/,
/^healthtod\.com$/, /^healthtod\.com$/,
/^irisvera\.com$/,
], ],
query: /^\?r=([a-zA-Z0-9/=]+)$/, query: /^\?r=([a-zA-Z0-9/=]+)$/,
}, },
@ -3490,8 +3521,8 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: [ rule: [
{ {
host: [ host: [
/(^|\.)safelinkconverter2?\.com$/, /(^|\.)safelink(converter|reviewx?)\.com?$/,
/^safelink(s?review(er)?)\.com?$/, /^awsubsco\.ml$/,
], ],
query: /id=([\w\\]+=*)/, query: /id=([\w\\]+=*)/,
}, },
@ -3539,7 +3570,8 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^(intercelestial|sweetlantern|davinsurance)\.com$/, /^(intercelestial|sweetlantern|davinsurance)\.com$/,
/^awcar\.icu$/, /^awcar\.icu$/,
/^skyinsurance\.ml$/, /^skyinsurance\.ml$/,
/^(getinfos|sehatsegar)\.net$/, /^(getinfos|sehatsegar|lonelymoon)\.net$/,
/^stt\.awsubs\.co$/,
], ],
query: /^\?id=([a-zA-Z0-9/=]+)$/, query: /^\?id=([a-zA-Z0-9/=]+)$/,
}, },
@ -3582,7 +3614,8 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
/^(intercelestial|sweetlantern|linkach|autolinkach|davinsurance)\.com$/, /^(intercelestial|sweetlantern|linkach|autolinkach|davinsurance)\.com$/,
/^awcar\.icu$/, /^awcar\.icu$/,
/^skyinsurance\.ml$/, /^skyinsurance\.ml$/,
/^(getinfos|sehatsegar)\.net$/, /^(getinfos|sehatsegar|lonelymoon)\.net$/,
/^stt\.awsubs\.co$/,
], ],
}, },
], ],
@ -4944,6 +4977,37 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(a.href); await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(a.href);
}, },
}); });
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: {
host: [
/^www\.imagespicy\.site$/,
/^www\.(imgsky|imgfile)\.net$/,
],
path: /^\/site\/v\/\d+$/,
},
async ready () {
const a = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('#myUniqueImg').parentNode;
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(a.href);
},
});
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: {
host: [
/^www\.imagespicy\.site$/,
/^www\.(imgsky|imgfile)\.net$/,
],
path: /^\/[a-z|0-9]{4,10}$/,
},
async ready () {
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].wait(1000);
const b = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('body .main-content-box');
b.style.display = 'initial';
const c = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('body .container');
c.style.display = 'initial';
const img = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('body .big_img img');
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(img.src);
},
});
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: 'http://ipic.su/?page=img&pic=*', rule: 'http://ipic.su/?page=img&pic=*',
async ready () { async ready () {
@ -5243,20 +5307,6 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(o.src); await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(o.src);
}, },
}); });
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: {
host: [
/^www\.pixsense\.net$/,
/^www\.imagespicy\.site$/,
/^www\.(imgsky|imgfile)\.net$/,
],
path: /^\/site\/v\/\d+$/,
},
async ready () {
const a = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('#myUniqueImg').parentNode;
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openLink(a.href);
},
});
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
rule: { rule: {
host: /^pixxxels\.cc$/, host: /^pixxxels\.cc$/,
@ -5532,19 +5582,22 @@ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({
}); });
async function action (firstSelector, secondSelector) { async function action (firstSelector, secondSelector) {
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].remove('iframe, #adblock_detect, .popupOverlay'); _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].remove('iframe, #adblock_detect, .popupOverlay');
const node = _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].$(firstSelector); let node = _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].$(firstSelector);
if (node) { if (node) {
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].wait(500); node = findFirstForm(node);
node.removeAttribute('disabled'); document.body.innerHTML = node.outerHTML;
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].wait(500); node = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])('form input');
node.focus();
node.click();
node.click();
node.click(); node.click();
return; return;
} }
const i = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])(secondSelector); node = Object(_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"])(secondSelector);
await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(i.src); await _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["$"].openImage(node.src);
}
function findFirstForm (child) {
while (child && child.localName !== 'form') {
child = child.parentElement;
}
return child;
} }
})(); })();
_ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({ _ADSBYPASSER_NAMESPACE___WEBPACK_IMPORTED_MODULE_0__["_"].register({