■
エラー判定が一行になってるとルールのデバッグがしにくい。
--- autopagerize.user.js.orig/autopagerize.user.js 2007-08-20 05:36:12.000000000 +0900 +++ autopagerize.user.js 2007-08-20 05:38:26.000000000 +0900 @@ -194,7 +194,13 @@ this.terminate() return } - if (!page || this.loadedURLs[this.requestURL]) { + if (!page) { + log('page not found. ' + this.info.pageElement); + this.terminate() + return + } + if (this.loadedURLs[this.requestURL]) { + log(this.requestURL + ' is already loaded. ' + this.info.nextLink); this.terminate() return }
これいつも向きがわかんなくなる。覚えるの無理。
>||...||<