Skip to content

Instantly share code, notes, and snippets.

@wellington1993
wellington1993 / common.js
Created August 31, 2020 19:40
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/utils/common.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wellington1993
wellington1993 / background-page.js
Created August 31, 2020 19:39
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/api/background-page.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wellington1993
wellington1993 / request-blocking.js
Created August 31, 2020 19:38
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/filter/request-blocking.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wellington1993
wellington1993 / notifier.js
Created August 31, 2020 19:37
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/utils/notifier.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wellington1993
wellington1993 / webrequest.js
Created August 31, 2020 19:35
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/webrequest.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@wellington1993
wellington1993 / ui-service.js
Created August 31, 2020 19:30
view-source:moz-extension://567d6cce-0981-4057-9fb0-3c1656a268c5/lib/ui-service.js
/**
* This file is part of AdBlocker Ultimate Browser Extension
*
* AdBlocker Ultimate Browser Extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AdBlocker Ultimate Browser Extension is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
PNotify 3.0.0 sciactive.com/pnotify/
(C) 2015 Hunter Perrin; Google, Inc.
license Apache-2.0
*/
(function(b,k){"function"===typeof define&&define.amd?define("pnotify",["jquery"],function(q){return k(q,b)}):"object"===typeof exports&&"undefined"!==typeof module?module.exports=k(require("jquery"),global||b):b.PNotify=k(b.jQuery,b)})("undefined"!==typeof window?window:this,function(b,k){var q=function(l){var k={dir1:"down",dir2:"left",push:"bottom",spacing1:36,spacing2:36,context:b("body"),modal:!1},g,h,n=b(l),r=function(){h=b("body");d.prototype.options.stack.context=h;n=b(l);n.bind("resize",
function(){g&&clearTimeout(g);g=setTimeout(function(){d.positionAll(!0)},10)})},s=function(c){var a=b("<div />",{"class":"ui-pnotify-modal-overlay"});a.prependTo(c.context);c.overlay_close&&a.click(function(){d.removeStack(c)});return a},d=function(c){this.parseOptions(c);this.init()};b.extend(d.prototype,{version:"3.0.0",options:{title:!1,title_escape:!1,text:!1,text_escape:!1,styling:"brighttheme",addclass:"",cornercl
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 20:47
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@HerringtonDarkholme
HerringtonDarkholme / nihongo.cpp
Last active April 26, 2024 20:46
g++ nihongo.cpp
#define エスティーディー std
#define アイオーストリーム <iostream>
#define ユージング using
#define イフ if
#define インクルード #include
#define イント int
#define シーアウト cout
#define シーイン cin
#define ネームスペース namespace
#define ブール bool
!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():e.NProgress=n()}(this,function(){var n,t,o={version:"0.2.0"},a=o.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function u(e,n,t){return e<n?n:t<e?t:e}function c(e){return 100*(-1+e)}o.configure=function(e){var n,t;for(n in e)void 0!==(t=e[n])&&e.hasOwnProperty(n)&&(a[n]=t);return this},o.status=null,o.set=function(n){var e=o.isStarted();n=u(n,a.minimum,1),o.status=1===n?null:n;var t=o.render(!e),r=t.querySelector(a.barSelector),i=a.speed,s=a.easing;return t.offsetWidth,l(function(e){""===a.positionUsing&&(a.positionUsing=o.getPositioningCSS()),f(r,function(e,n,t){var r;r="translate3d"===a.positionUsing?{transform: