Skip to content

Instantly share code, notes, and snippets.

View rukh-debug's full-sized avatar
🔭
Dont visit https://is.gd/rub3nk

rukh rukh-debug

🔭
Dont visit https://is.gd/rub3nk
View GitHub Profile
//Testing personal xssHunt
/// html2canvas
!function (t, e, n) {
function r(t, e, n, r) { return c(t, n, r, e).then(function (a) { E("Document cloned"); var c = "[" + Ee + "='true']"; t.querySelector(c).removeAttribute(Ee); var h = a.contentWindow, u = h.document.querySelector(c), p = new de(h.document), l = new m(e, p), d = B(u), f = "view" === e.type ? Math.min(d.width, n) : o(), g = "view" === e.type ? Math.min(d.height, r) : s(), y = new xe(f, g, l, e), v = new P(u, y, p, l, e); return v.ready.then(function () { E("Finished rendering"); var t = "view" === e.type || u !== h.document.body && u !== h.document.documentElement ? i(y.canvas, d) : y.canvas; return e.removeContainer && (a.parentNode.removeChild(a), E("Cleaned up container")), t }) }) } function i(t, n) { var r = e.createElement("canvas"), i = Math.min(t.width - 1, Math.max(0, n.left)), o = Math.min(t.width, Math.max(1, n.left + n.width)), s = Math.min(t.height - 1, Math.max(0, n.top)), a = Math.min(t.height, Math.max(1, n.top + n.height)), c
@rukh-debug
rukh-debug / bd-gruvbox.css
Last active November 13, 2020 10:26 — forked from emctague/bd-gruvbox.css
Gruvbox Hard Dark - BetterDiscord Theme
//META{"name":"Gruvbox Hard Dark","description":"Themes your Discord using Gruvbox colors.","author":"Ethan McTague","version":"1.0"}*//
/* BetterDiscord Gruvbox Theme - By Ethan McTague
Compatible with the latest version of Discord (as of Jan 23, 2020.)
Copyright 2020 Ethan McTague <[email protected]>
Licensed under the BSD 3-clause license.