哔哩哔哩·猜你喜欢

为你的哔哩哔哩PC首页增加「猜你喜欢」模块

哔哩哔哩·猜你喜欢 - 增强Bilibili主页体验的Chrome插件

哔哩哔哩·猜你喜欢是一款Chrome插件,它为哔哩哔哩PC首页添加了「猜你喜欢」的功能。这款插件让你在刷完关注列表后,仍有许多符合你兴趣的影片推荐,让你在沉浸在海量内容中也能找到自己喜欢的影片。提升你的浏览体验,且安装适用后点击视频,之后即可看到推荐视频。
Install from Chrome Web Store

Extension stats

Manifest V2
Users: 4,000+
Rating: 4.61
(46)
Version: 1.13 (Last updated: 2022-01-12)
Creation date: 2020-03-25
Permissions:
  • http://www.bilibili.com/*
  • https://www.bilibili.com/*
  • storage
Size: 20.09K
Email: *****@thec.me
Full description: See detailed description

Other platforms

Not available on Android
Not available on Firefox
哔哩哔哩·猜你喜欢 (v1.12)
4,977+ 4.90 (19)

User reviews

These summaries are automatically generated weekly using AI based on recent user reviews. Chrome Web Store does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
Pros
  • 插件可以有效推荐视频,改善B站体验
  • 作者持续更新,用户对此表示感谢
  • 在新版布局上有所适配,保持了用户体验
Cons
  • 插件停止更新,导致在新版B站上失效
  • 在全屏模式下推荐视频封面显示不正常
  • 插件不能和其他浏览器同步使用
Most mentioned
  • B站更新造成插件失效
  • 需要更新以适配新版B站首页
  • 存在显示问题和兼容性问题
User reviews
是很不错的插件,可惜停止更新了,新版已经无法适配了,已失效
by 雷托, 2023-10-27

B站强制更新新版首页,已经失效了
by 萌之神唑, 2023-09-01

请问出现这个怎么办 // 插入页面 // 目前看来第一个<section class="bili-grid short-margin grid-anchor">是首屏的推荐模块,我们直接插在她下面就可以了 const anchor = document.querySelector('.bili-grid.short-margin.grid-anchor'); if (!anchor) { throw new Error(`${LOG_PREFIX} 无法定位首屏推荐模块 <section class="bili-grid short-margin grid-anchor">`) } anchor.insertAdjacentElement('afterEnd', node); UI.node = node; resolve(); }); }, // 获取推荐模块的引用 getRecommandNode() { return new Promise(async(resolve) => { // 检查是否有已插入的节点 UI.node = document.querySelector('#_bili_guessyoulike'); if (!UI.node) { // 没有就创建 await UI.insertRecommands(); } resolve(); }); }, renderVideoCard(video) { function toWan(number) { return number > 9999 ? ((number / 10000).toFixed(1) + '万') : number; } function toMin(seconds) { return String(Math.floor(seconds / 60)).padStart(2, '0') + ':' + String(seconds % 60).padStart(2, '0'); } function toHttps(url) { return url.replace('http://', 'https://'); } return videoCardTemplate.replaceAll('!#{bvid}', video.bvid) .replaceAll('!#{duration}', toMin(video.duration)) .replaceAll('!#{title}', video.title) .replaceAll('!#{cover}', toHttps(video.pic)) .replaceAll('!#{view}', toWan(video.stat.view)) .replaceAll('!#{like}', toWan(video.stat.like)) .replaceAll('!#{uid}', video.up.mid) .replaceAll('!#{avatar}', toHttps(video.up.face)) .replaceAll('!#{username}', video.up.name) }, async updateRecommands(videos) { await UI.getRecommandNode(); const node = UI.node; const stage = node.querySelector('.bangumi-activity-body'); if (videos.length) { // 生成视频卡片 const videoCardsHTML = videos.map(video => UI.renderVideoCard(video)).join(''); stage.innerHTML = videoCardsHTML; } else { stage.innerHTML = '<p style="color: #777; line-height: 360px; text-align: center; width: 100%;">观看记录为空,快去看几个视频吧~</p>'; } }, // 监听来自页面的更新请求 listen() { window.addEventListener('message', (ev) => { if (ev.data.type && ev.data.type == 'UPDATE_RECOMMANDS') { RECOMMAND.recommand(recommandMax); } }); } } // 在视频页直接点击关联视频并不会刷新页面,而是直接ajax加载改变url,所以我们要监听hashchange // 试了下hashchange事件好像监听不到?不知道为啥,写个dirty check吧 const URLLISTENER = { timer: null, bvid: '', tick() { const bvid = UI.getBVID(); if (bvid !== URLLISTENER.bvid) { DB.logUserViewHistory(bvid); RECOMMAND.get(bvid); URLLISTENER.bvid = bvid; console.log(`${LOG_PREFIX} Logged ${bvid}`); } }, init() { URLLISTENER.timer = setInterval(URLLISTENER.tick, 10000); // 10s检查一次差不多了吧 URLLISTENER.tick(); } } function init() { // 当前是否首页? if (UI.isIndex()) { RECOMMAND.recommand(recommandMax); UI.listen(); } // 当前是否视频播放页? // 如果是视频播放页,则获取当前视频的相关推荐视频 if (UI.isVideo()) { URLLISTENER.init(); } } // 增加了bvid字段,需要清除以前的数据 DB.get('_20200325_clear_data', (cleared) => { if (cleared) { init(); } else { chrome.storage.local.clear(() => { DB.set({ '_20200325_clear_data': true }); init(); }); } });
by Autism, 2022-01-29
View all user reviews

Extension safety

Risk impact

哔哩哔哩·猜你喜欢 requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • High Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
  • Medium ******* ****** ** *** ********* ******** ************
Risk likelihood

We don't have sufficient data to confidently determine the risk likelihood of 哔哩哔哩·猜你喜欢. Use it at your own risk.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to 哔哩哔哩·猜你喜欢: