豆瓣电影搜索在线观看&下载
// ==UserScript==
// @name 豆瓣电影搜索在线观看&下载
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.6.5
// @description 点击片名后面的按钮可展开菜单,点击菜单外任何空白处即可隐藏菜单!收录精品站点,欢迎推荐!
// @author 张仨
// @match https://movie.douban.com/subject/*
// @grant none
// ==/UserScript==
/***
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* . ' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
*
* .............................................
* 佛祖保佑 永无BUG
*/
/***
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/
(function () {
'use strict';
var movieTitle = document.querySelector('.year');
movieTitle.insertAdjacentHTML('afterend', `
<button class="btn-douban">Click me</button>
<style>
.btn-douban {
position: absolute;
width: 100px;
height: 30px;
cursor: pointer;
margin-left: 10px;
background: linear-gradient(-45deg, #3f00b5, #9f69fe, #27c8b7, #3f00b5);
background-size: 800% 400%;
display: inline-block;
border: none;
border-radius: 10px;
font-size: 17px;
font-weight: 700;
color: white;
transition: all .5s ease-in-out;
animation: gradient 10s infinite cubic-bezier(.62, .28, .23, .99) both;
}
.btn-douban:hover {
animation: gradient 3s infinite;
transform: scale(1.05);
}
.btn-douban:active {
animation: gradient 3s infinite;
transform: scale(0.8);
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>
`)
var douBanPopUp = document.createElement("div");
document.body.appendChild(douBanPopUp);
douBanPopUp.className = "douban-pop-up";
douBanPopUp.innerHTML = `
<div class="douban-title"></div>
<span class="wb-close">×</span>
<div class="douban-buttons">
<div class="vip-script">
<span>VIP👑视频解析脚本</span>
<p>支持爱奇艺、优酷、腾讯视频、哔哩哔哩网站会员视频解析,点击右侧按钮跳转至“油猴中文网”安装脚本...</p>
<button>
<a href="https://bbs.tampermonkey.net.cn/thread-1539-1-1.html" target="_blank">视频解析 >>></a>
</button>
</div>
<div class="link-1">
<span>在线观看</span>
</div>
<div class="link-2">
<span>电影下载</span>
</div>
<div class="link-3">
<span>付费或会员👑VIP</span>
</div>
</div>
<style>
.douban-pop-up {
position: fixed;
display: none;
width: 800px;
height: 650px;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
overflow: auto;
border-radius: 8px;
background: linear-gradient(90deg, #ff00f0, #0050ff);
transition: .3s;
animation: Down 0.5s;
overflow-x: hidden;
overflow-y: hidden;
}
@keyframes Down {
from {
top: -500px;
opacity: 0
}
to {
top: 0px;
opacity: 1
}
}
.douban-buttons {
position: absolute;
left: 0;
right: 0;
bottom: 8px;
margin: auto;
width: 98%;
height: 92%;
background: #f0f4f5;
border-radius: 3px;
}
.douban-title {
position: absolute;
width: 100%;
top: 2px;
right: 0;
left: 0;
margin: auto;
text-align: center;
font-size: 22px;
font-family: Playball, cursive;
color: #45cffe;
}
.wb-close {
position: absolute;
top: -12px;
right: 8px;
color: rgb(147, 173, 229);
cursor: pointer;
font-size: 42px;
}
.wb-close:hover {
color: white;
}
.douban-buttons {
display: flex;
align-items: center;
flex-direction: column;
}
.douban-buttons>div>span {
display: block;
padding: 6px;
color: #238cd3;
text-align: center;
font-size: 22px;
font-weight: bold;
font-family: Playball, cursive;
}
.douban-buttons>div>a {
display: inline-block;
width: 100px;
height: 30px;
margin: 6px;
font-size: 18px;
font-weight: bold;
font-family: Playball, cursive;
text-align: center;
line-height: 30px;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2.5px;
font-weight: 500;
color: #2ee59d;
background: #fff;
border: none;
border-radius: 45px;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease 0s;
cursor: pointer;
outline: none;
}
.douban-buttons>div>a:hover {
background: #47cbfc;
box-shadow: 0px 15px 20px rgba(46, 223, 229, 0.4);
color: #fff;
transform: translateY(-3px);
}
.douban-buttons>div>a:active {
transform: translateY(-1px);
}
.douban-buttons>div>a:visited {
background: #2EE59D;
color: #fff;
}
.vip-script{
width: 100%;
height: 140px;
border: 1px solid #2196f3;
border-radius: 3px;
}
.vip-script>p{
position: absolute;
top: 25px;
color: #1353a5;
font-size: 22px;
text-align: center;
}
.vip-script>button{
position: absolute;
right: 6px;
top: 80px;
width: 110px;
height: 35px;
border: 1px solid #2196f3;
cursor: pointer;
margin-top: 10px;
background: transparent;
outline: none;
}
.vip-script>button>a {
position: relative;
width: 100%;
height: 100%;
text-align: center;
line-height: 35px;
display: block;
color: #2196f3;
text-decoration: none;
}
.vip-script>button>a {
background: transparent;
}
</style>`
var btnDouBan = document.querySelector('.btn-douban');
var douBanTitle = document.querySelector('.douban-title');
var wbClose = document.querySelector('.wb-close');
var movieName = document.querySelector('title').innerText.replace(/(^\s*)|(\s*$)/g, '').replace(' (豆瓣)', '');
douBanTitle.innerText = movieName;
btnDouBan.addEventListener('click', () => {
douBanPopUp.style.display = 'block';
})
wbClose.addEventListener('click', () => {
douBanPopUp.style.display = 'none';
})
var Video_1 = [
{ "name": "低端", "url": "https://www.baidu.com/s?wd=site%3Addrk.me%20" },
{ "name": "思古", "url": "https://www.siguyy.com/search/-------------.html?wd=" },
{ "name": "饭团", "url": "https://fantuan.tv/vodsearch.html?wd=" },
{ "name": "飘花", "url": "https://www.piaohua.com/plus/search.php?kwtype=0&keyword=" },
{ "name": "爱迪", "url": "https://aidi.tv/vsearch/-------------.html?wd=" },
{ "name": "月亮", "url": "http://www.13tv.top/vodsearch.html?wd=" },
{ "name": "九零", "url": "https://90r.cc/vodsearch/-------------/?wd=" },
{ "name": "不求人", "url": "https://movie.bqrdh.com/vodsearch/-------------.html?wd=" },
{ "name": "Auete", "url": "https://auete.com/search.php?searchword=" },
{ "name": "BL解析", "url": "https://vip.bljiex.cc/?v=" },
{ "name": "MK影视", "url": "https://www.mkvdo.com/?s=" },
{ "name": "NO视频", "url": "https://www.novipnoad.com/?s=" },
{ "name": "4K影视", "url": "https://www.4kvm.com/xssearch?s=" },
{ "name": "瓜皮TV", "url": "https://www.dijiaxia.com/index.php/vod/search.html?wd=" },
{ "name": "桔子TV", "url": "https://www.juztv.com/vodsearch/-------------/?wd=" },
{ "name": "云播TV", "url": "https://www.yunbtv.net/vodsearch/-------------.html?wd=" },
{ "name": "茶杯狐", "url": "https://www.cupfox.com/search?key=" },
{ "name": "素白白", "url": "https://www.subaibaiys.com/grabble?q=" },
{ "name": "大师兄", "url": "https://tv.ci/sb/ke7nhZe3c1-.html?wd=" },
{ "name": "追剧吧", "url": "https://zjuba.com/index.php/vod/search/wd/" },
{ "name": "美剧虫", "url": "https://www.meijuchong.com/vodsearch/-------------.html?wd=" },
{ "name": "万影网", "url": "https://www.17skr.com/vod/search.html?wd=" },
{ "name": "韩剧网", "url": "https://woaiwu.com/vodsearch/-------------.html?wd=" },
{ "name": "独播库", "url": "https://duboku.su/vodsearch/-------------.html?wd=" },
{ "name": "真不卡", "url": "https://www.zbkyy.com/vodsearch/-------------/?wd=" },
{ "name": "奈菲鸭", "url": "https://yanetflix.com/index.php/vod/search.html?wd=" },
{ "name": "厂长资源", "url": "https://www.czspp.com/xssearch?q=" },
{ "name": "思乐影视", "url": "https://www.4ltv.com/search/-------------.html?wd=" },
];
var Video_2 = [
{ "name": "两个BT", "url": "https://www.bttwo.com/xssearch?q=" },
{ "name": "MaGeDN", "url": "https://loli.magedn.com/?s=" },
{ "name": "SeedHub", "url": "https://www.yinfans.me/?s=" },
{ "name": "YYeTs", "url": "https://yyets.dmesg.app/search?keyword=" },
{ "name": "音范丝", "url": "https://www.yinfans.me/?s=" },
{ "name": "美剧迷", "url": "https://www.meijumi.net/?s=" },
{ "name": "电影蜂蜜", "url": "https://www.idybee.com/?post_type=post&s=" },
{ "name": "高清电台", "url": "https://gaoqing.fm/s.php?q=" },
{ "name": "豆瓣下载", "url": "https://www.gaoqing888.com/search?kw=" }
];
var Video_3 = [
{ "name": "爱奇艺", "url": "https://so.iqiyi.com/so/q_" },
{ "name": "腾讯", "url": "https://v.qq.com/x/search/?q=" },
{ "name": "优酷", "url": "https://so.youku.com/search_video/q_" }
];
var link_1 = document.querySelector('.link-1');
var link_2 = document.querySelector('.link-2');
var link_3 = document.querySelector('.link-3');
for (var i in Video_1) {
var buttons_1 = document.createElement('a');
link_1.appendChild(buttons_1);
buttons_1.innerHTML = Video_1[i].name;
buttons_1.href = Video_1[i].url + movieName;
buttons_1.target = "_blank";
};
for (var t in Video_2) {
var buttons_2 = document.createElement('a');
link_2.appendChild(buttons_2);
buttons_2.innerHTML = Video_2[t].name;
buttons_2.href = Video_2[t].url + movieName;
buttons_2.target = "_blank";
};
for (var s in Video_3) {
var buttons_3 = document.createElement('a');
link_3.appendChild(buttons_3);
buttons_3.innerHTML = Video_3[s].name;
buttons_3.href = Video_3[s].url + movieName;
buttons_3.target = "_blank";
};
})();