Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 0.61 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   initLDRize: function(){
  2.           if(this.setup) return;
  3.           var self = this;
  4.           this.setup = true;
  5.           this.initMinibuffer();
  6.           this.initShortcutkey();
  7.  
  8.           var addFilterHandler = function(e){
  9.                           pages = e.target;
  10.                           self.removeSpace();
  11.                           //setTimeout(function(){
  12.                                   self.initParagraph(pages);
  13.                           //}, 0);
  14.           }
  15.                 document.body.addEventListener('AutoPagerize_DOMNodeInserted', addFilterHandler, false);
  16.  
  17.           var css = '';
  18.           css += [this.initHTML(),
  19.                           this.initImage(),
  20.                           this.initHelp(),
  21.                           this.initCSS(),
  22.                           this.initPinList(),
  23.                           this.initSpace()
  24.                           ].join('');
  25.           if(css != '') GM_addStyle(css);
  26.   },