Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- initLDRize: function(){
- if(this.setup) return;
- var self = this;
- this.setup = true;
- this.initMinibuffer();
- this.initShortcutkey();
- var addFilterHandler = function(e){
- pages = e.target;
- self.removeSpace();
- //setTimeout(function(){
- self.initParagraph(pages);
- //}, 0);
- }
- document.body.addEventListener('AutoPagerize_DOMNodeInserted', addFilterHandler, false);
- var css = '';
- css += [this.initHTML(),
- this.initImage(),
- this.initHelp(),
- this.initCSS(),
- this.initPinList(),
- this.initSpace()
- ].join('');
- if(css != '') GM_addStyle(css);
- },
Add Comment
Please, Sign In to add comment