Redirect to static HTML (Discuz!)

適用於Discuz!論壇,從動態網頁轉至靜態網頁,AutoPagerize才有作用
javascript:
(function(){
  var tid=/tid=(\d*)/.exec(location.search)[1];
  var page=(/page=(\d*)/.test(location.search)[1])?/page=(\d*)/.exec(location.search)[1]:1;
  location.assign('thread-'+tid+'-'+page+'-1.html');
}
)()