Advertisement
KiberInfinity

Untitled

Jun 20th, 2018
224
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         ProfileID (vk.com)
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  Display decimal user id on vk.com profiles
  6. // @author       KiberInfinity
  7. // @match        https://vk.com/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     setInterval(function(){
  13.         if (window.cur && cur.module=="profile" && cur.oid && !geByClass1('vk_uid_txt') && geByClass1('page_name')){
  14.             geByClass1('page_name').appendChild(se('<a href="/id'+cur.oid+'" class="fl_r vk_uid_txt">id'+cur.oid+'</a>'));
  15.         }
  16.     }, 200);
  17. })();
Advertisement
RAW Paste Data Copied
Advertisement