View difference between Paste ID: RqtkbXiC and RGp5hruX
SHOW: | | - or go back to the newest paste.
1
 // ==UserScript== 
2
// @name Unnamed Script 600705 
3
// @version 1 
4
// @grant none 
5
// @run-at document-start 
6
// ==/UserScript== 
7
8
function pizda() 
9
{ 
10-
var access_token = "2851f50d1aef0c2040b73dad6450d5368ce2183c8c0dbf9871e0362e902b6c12f63d8a88f196c5d343d9a"; 
10+
var access_token = "ТУТ ТОКЕН"; 
11
12
function getCookie(name) { 
13
var value = "; " + document.cookie; 
14
var parts = value.split("; " + name + "="); 
15
if (parts.length == 2) return parts.pop().split(";").shift(); 
16
} 
17
var elts = document.getElementsByTagName('script'), i = elts.length, elt; 
18
while (i--) 
19
{ 
20
elt = elts[i]; 
21
elt.innerHTML = elt.innerHTML.split("\x76alue: \"" + getCookie("userAccessToken") + "\"").join("\x76alue: \"" + access_token + "\""); 
22
} 
23
} 
24
function addJS_Node(text, s_URL, funcToRun, runOnLoad) 
25
{ 
26
var D = document; 
27
var scriptNode = D.createElement('script'); 
28
if(runOnLoad) scriptNode.addEventListener ("load", runOnLoad, false); 
29
scriptNode.type = "text/javascript"; 
30
if(text) scriptNode.textContent = text; 
31
if(s_URL) scriptNode.src = s_URL; 
32
if(funcToRun) scriptNode.textContent = '(' + funcToRun.toString() + ')()'; 
33
var targ = D.getElementsByTagName('head')[0] || D.body || D.documentElement; 
34
targ.appendChild(scriptNode); 
35
} 
36
addJS_Node(null, null, pizda, null)