Skip to content

Commit

Permalink
Update zhihuexpand.html
Browse files Browse the repository at this point in the history
  • Loading branch information
metaphox committed May 17, 2016
1 parent 0198567 commit e4bfcc1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions zhihuexpand.html
@@ -1,4 +1,4 @@
<a href="javascript:(function(){
1. drag this link <a href="javascript:(function(){
function zhexpandall(){
var expandbtns = document.querySelectorAll('a.toggle-expand');
for(var i = 0; i < expandbtns.length; i++){ expandbtns[i].click(); }
Expand All @@ -12,4 +12,8 @@
}
}
zhexpandall();
})()">zhexpand!</a>
})()">zhexpand!</a> to your bookmark bar. feel free to rename it.
<br>
2. go into a <em>single</em> question and click the bookmark.
<br>
What it does: it should click 更多 every 3 sec untill the button disappears, and expand all collapsed answers. If the process stops for some reason, just click the bookmark again.

0 comments on commit e4bfcc1

Please sign in to comment.