Created
September 14, 2017 01:43
-
-
Save rwilkes/b0620e8f2acfd1ee884b196af6ef2521 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FlyVK | |
// @description new.vk.com | |
// @include *://vk.com/* | |
// @include *://*.vk.com/* | |
// @include *://*.vk.me/* | |
// @include *://*.vk.cc/* | |
// @include *://*.userapi.com/* | |
// @version 1.6 | |
// @grant GM_setValue | |
// @grant unsafeWindow | |
// @grant GM_getValue | |
// @grant GM_xmlhttpRequest | |
// @grant GM_listValues | |
// @copyright 2016, flyink13 (Evgenii Kotliarov k-94.ru) | |
// @author flyink13s | |
// @icon https://k-94.ru/assets/logo-black.svg | |
// @homepageURL https://k-94.ru/FlyVK/ | |
// @updateURL https://k-94.ru/FlyVK/FlyVK.user.js | |
// ==/UserScript== | |
if(typeof console == "object") console.log("domain",location.href); | |
var script = document.createElement("script"); | |
script.setAttribute("type", "text/javascript"); | |
script.src = "//k-94.ru/FlyVK/general.js?r="+Math.random(); | |
document.head.appendChild(script); | |
script.onload = function(){ | |
FlyVK.settings.storage = { | |
getItem:GM_getValue, | |
setItem:GM_setValue, | |
removeItem:function(name){GM_setValue(name,null);} | |
}; | |
FlyVK.settings.load(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment