// ==UserScript==
// @name 豆瓣电影搜索在线观看&下载
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.3.0
// @description 豆瓣电影搜索在线观看&下载!都是本人经常观看的电影网站,质量高,更新快,资源足!收录精品站点,欢迎推荐!
// @author 张仨
// @match https://movie.douban.com/subject/*
// @supportURL https://bbs.tampermonkey.net.cn/forum.php?mod=viewthread&tid=1204&extra=page%3D1
// @homepageURL https://bbs.tampermonkey.net.cn/forum.php?mod=viewthread&tid=1204&extra=page%3D1
// @grant unsafeWindow
// @grant GM_addStyle
// ==/UserScript==
/***
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* . ' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
*
* .............................................
* 佛祖保佑 永无BUG
*/
/***
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/
unsafeWindow.onload=function(){
'use strict';
var douban,DIV,Magnifier;
douban = document.querySelector('title').innerText.replace(/(^\s*)|(\s*$)/g, '').replace(' (豆瓣)', '');
Magnifier = document.querySelector('.year');
Magnifier.insertAdjacentHTML('afterend', '');
DIV = document.querySelector('#content');
DIV.insertAdjacentHTML('beforebegin',`
×
低端
思古
饭团
飘花
人人
爱迪
暮光
片吧
月亮
九零
茶杯狐
不求人
素白白
大师兄
追剧吧
村长爸
美剧虫
万影网
独播库
4K鸭
00后
BL解析
瓜皮TV
MK影视
真不卡
奈飞星
影客团
蛋蛋赞
NO视频
Auete
桔子TV
追剧达人
在线之家
两个BT
MaGeDN
YYDS
YYeTs
高清电台
豆瓣下载
爱奇艺
腾讯
优酷
`)
document.querySelector('.magnifier').onclick = function(){
document.querySelector(".box").style.display="block";
}
document.querySelector('.times').onclick = function(){
document.querySelector(".box").style.display="none";
}
GM_addStyle(`
.magnifier{
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNi41IDEyQzkuNTM3NTcgMTIgMTIgOS41Mzc1NyAxMiA2LjVDMTIgMy40NjI0MyA5LjUzNzU3IDEgNi41IDFDMy40NjI0MyAxIDEgMy40NjI0MyAxIDYuNUMxIDkuNTM3NTcgMy40NjI0MyAxMiA2LjUgMTJaIiBzdHJva2U9IiM5MTkxOTEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PHBhdGggZD0iTTExIDExTDE1IDE1IiBzdHJva2U9IiM5MTkxOTEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=);
background-color: transparent;
background-repeat: no-repeat;
flex-shrink: 0;
width: 6px;
height: 16px;
display: inline-block;
vertical-align: bottom;
cursor: pointer;
border: 0;
margin: 4px 8px 10px 4px;
position:fixed;
}
.box {
background-color: #268dcd;
text-align: center;
position: relative;
height:342px;
width:100%;
display:none;
}
.list {
position: relative;
text-align: center;
color: #ff4041;
font-weight: 600;
font-size: 15px;
background-color: #9ad7e0;
padding: 2px 15px;
}
.btn {
position: relative;
height:25px;
width:70px;
padding-top: 3px;
border: none;
cursor: pointer;
outline: none;
overflow: hidden;
color: #fff;
font-weight: 700;
font-size: 15px;
background-color: #222;
margin: 5px 5px 5px 5px;
background-image: linear-gradient(to top, #d9afd9 0%, #97d9e1 100%);
}
.btn span {
position: relative;
font-family:"宋体";
z-index: 1;
}
.btn:after {
content: "";
position: absolute;
left: 50%;
top: 0;
height: 100%;
width: 180%;
background: #78c7d2;
-webkit-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
-webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
transform: translateX(-98%) translateY(-25%) rotate(45deg);
}
.btn:hover:after {
-webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
.times{
position: absolute;
z-index: 999;
color: #ff4041;
font-size: 28px;
border: 1px solid #268dcd;
border-radius: 50%;
right: 10px;
width: 25px;
height: 25px;
line-height: 28px;
cursor: pointer;
background: #9ad7e0;
}
.times:hover{
color:#268dcd;
background:#00a1d6;
}
`)
}