脚本已归档
该脚本已经被作者归档,脚本可能失效并且作者不再维护,你无法再进行问题反馈。
// ==UserScript==
// @name B站番剧跳转搜索&下载
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.1.1
// @description B站番剧跳转搜索&下载!目录位于剧集下方,收录精品站点,欢迎推荐!
// @author 张仨
// @run-at document-end
// @match https://www.bilibili.com/bangumi/play/*
// ==/UserScript==
(function () {
'use strict';
var text = document.querySelector('.media-right a').innerHTML;
setTimeout(function () {
var media = document.querySelector('#eplist_module');
media.insertAdjacentHTML('afterend', `
<div class="col-md">
<p>在线动漫</p><br>
<a href="http://www.yinghuacd.com/search/${text}" target="_blank">樱花</a>
<a href="https://www.enlienli.com/index.php/vod/search/wd/${text}" target="_blank">嗯哩</a>
<a href="https://www.omofun.com/vod/search.html?wd=${text}" target="_blank">O站</a>
<a href="http://www.zzzfun.com/vod_search.html?wd=${text}" target="_blank">Z站</a>
<a href="http://www.dmdm2020.com/dongmansearch.html?wd=${text}" target="_blank">哆咪</a>
<a href="https://www.xbdm.org/search.php?searchword=${text}" target="_blank">迅播</a>
<a href="https://www.11dm.net/vodsearch_-------------.html?wd=${text}" target="_blank">树莓</a>
<a href="https://www.qiqidongman.com/vod-search-wd-${text}.html" target="_blank">奇奇</a>
<a href="https://www.xyhdm.com/search.php?searchword=${text}" target="_blank">新樱花</a>
<a href="https://qkan8.com/index.php/vod/search.html?wd=${text}" target="_blank">去看吧</a>
<a href="http://ysjdm.net/index.php/vod/search.html?wd=${text}" target="_blank">異世界</a>
<a href="https://www.senfun.net/search.html?wd=${text}" target="_blank">森之屋</a><br><br>
<p>动漫下载</p><br>
<a href="https://dmly.me/?cat=0&s=${text}" target="_blank">动漫领域</a>
<a href="https://www.dongmanhuayuan.com/search/${text}" target="_blank">动漫花园</a>
<a href="http://www.miobt.com/search.php?keyword=${text}" target="_blank">MioBT</a>
</div>
<style>
.col-md{
position: relative;
width: 320px;
height: 300px;
background: #f4f4f4;
margin-bottom: 20px;
text-align: center;
}
.col-md p{
background: #00a1d6;
color: #ffffff;
height: 30px;
line-height: 30px;
}
.col-md a{
display: inline-block;
height: 36px;
width: 65px;
color: #202120;
font-size: 15px;
margin: 3px;
background: #ffffff;
line-height: 36px;
border: 1px solid #ffffff;
white-space: nowrap;
}
.col-md a:hover{
border: 1px solid #00a1d6;
}
.col-md a:focus{
color: #fffff8;
background: #00a1d6;
}
</style>`)
},1000);
})();