Nabb's Func Func Framework *OLD*

Required for some of Nabb's Kongregate scripts (on Chrome)

  1. // ==UserScript==
  2. // @name Nabb's Func Func Framework *OLD*
  3. // @namespace http://nabb.trap17.com
  4. // @description Required for some of Nabb's Kongregate scripts (on Chrome)
  5. // @include http://www.kongregate.com/*
  6. // @version 0.0.1.20160322224100
  7. // ==/UserScript==
  8.  
  9. // Nabb, 15th May 2009: nabb.trap17.com
  10.  
  11. // This script is required for some of my scripts.
  12.  
  13. setTimeout("nF=function(a){b=a.split(\".\");d=window;for(c=0;c<b.length-1;){d=d[b[c++]]}return[d,b[c]]};nFR=function(a){return a.substring(a.indexOf('(')+1,a.indexOf(')'))};nFA=function(a,x,y){b=nF(a);c=b[0][b[1]].toString();b[0][b[1]]=new Function(nFR(c),(x?x:'')+';'+c.substring(c.indexOf('{')+1,c.length-1)+';'+(y?y:''))};nFE=function(a,s,r){b=nF(a);c=b[0][b[1]].toString();b[0][b[1]]=new Function(nFR(c),(c.substring(c.indexOf('{')+1,c.length-1)).replace(s,r))}",0)