Skip to content

Commit

Permalink
update 0.8.16.16
Browse files Browse the repository at this point in the history
remove
1.watcher
change
1.treasure
2.sign
  • Loading branch information
Ruo committed Nov 21, 2016
1 parent 37b836b commit 5571f60
Show file tree
Hide file tree
Showing 4 changed files with 726 additions and 384 deletions.
5 changes: 4 additions & 1 deletion src/bilibili_injected.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@
$('#loading-notice').fadeOut(300);
}
} else {
console.log(biliHelper)
if (!isNaN(biliHelper.cid) && biliHelper.originalPlayer) biliHelper.originalPlayer.replace('cid=' + biliHelper.cid, 'cid=' + videoInfo.cid);
biliHelper.cid = videoInfo.cid;
if (!biliHelper.genPage) {
Expand All @@ -553,7 +554,9 @@
});
biliHelper.mainBlock.commentSection = commentDiv;
biliHelper.mainBlock.append(biliHelper.mainBlock.commentSection);
$.get('http://comment.bilibili.com/' + biliHelper.cid + '.xml', function(response) {
var id = biliHelper.site ==1?biliHelper.avid:biliHelper.cid;
$.get('http://comment.bilibili.com/' + id + '.xml', function(response) {
console.log(response)
var assData = '\ufeff' + generateASS(setPosition(parseXML('', response)), {
'title': getNiceSectionFilename(biliHelper.avid, biliHelper.page, biliHelper.totalPage, 1, 1),
'ori': location.href
Expand Down
Loading

0 comments on commit 5571f60

Please sign in to comment.