Skip to content

Instantly share code, notes, and snippets.

@rwilkes
Created September 14, 2017 01:43
Show Gist options
  • Save rwilkes/b0620e8f2acfd1ee884b196af6ef2521 to your computer and use it in GitHub Desktop.
Save rwilkes/b0620e8f2acfd1ee884b196af6ef2521 to your computer and use it in GitHub Desktop.
// ==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();
};
@Korb
Copy link

Korb commented Dec 13, 2021

What exactly does your script do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment