Facebook
From Sharp Camel, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 176
  1. // ==UserScript==
  2. // @name         Dorkorovie - lootlog klanowy
  3. // @version      2.1
  4. // @description  Dorkorovie - lootlog klanowy dla NI
  5. // @author       Groove Armada
  6. // @match        http://*.margonem.pl/
  7. // @match        http://*.margonem.com/
  8. // @grant        none
  9. // @run-at       document-body
  10. // ==/UserScript==
  11.  
  12. (function() {
  13.         'use strict';
  14.  
  15.     function getScript(url) {
  16.         var script = document.createElement('script');
  17.         script.src = url;
  18.         document.body.appendChild(script);
  19.     }
  20.  
  21.         if (typeof __build === 'object' || typeof __bootNI !== 'undefined') {
  22.                 var d = new Date();
  23.                 var verStr = [d.getUTCDate(), d.getUTCMonth() + 1].join('.');
  24.  
  25.                 // framework
  26.                 if (typeof GrooveObject !== 'object') {
  27.                         getScript('http://addons2.margonem.pl/get/69/69097dev.js?ver=' + verStr);
  28.                 }
  29.  
  30.                 (window.GACLL = window.GACLL || {
  31.                         clans: []
  32.                 });
  33.  
  34.                 GACLL.clans.push('dorkorovie');
  35.  
  36.                 if (!GACLL.init) {
  37.                         GACLL.init = true;
  38.                         getScript('http://addons2.margonem.pl/get/79/79443dev.js?v=' + verStr);
  39.                 }
  40.         }
  41. })();