本人23年考研,分享一些我备考时用的资源,祝大家成功上岸!
公众号:卡卡考研
各种书籍电子版,我当时肖八肖四、张宇36讲之类的都在这里找到的。
网站:金榜题名
http://qzbltushu.ysepan.com/?xzpd=1
各种网课资源,政治高数英语408都有,也都是最新版。
当时找资源真的花了很大的力气,真诚的感谢他们,我使用的时候都是免费的,无任何套路,能找到他们是我的幸运,现在分享给大家。
原文:https://www.bilibili.com/read/cv18553741?spm_id_from=333.999.0.0
var videos=document.querySelectorAll("video");
for (var video of videos ){
video.playbackRate=2; }
// ==UserScript==
// @name 浮动按钮
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 点击倍速
// @author tfnmdmx
// @match https://www.aliyundrive.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=csdn.net
// @grant none
// ==/UserScript==
(function() {
'use strict';
var button = document.createElement("button");
button.id = "my_control_button";
button.style.align = "center";
button.style.position="fixed"
button.style.right="220px"
button.style.bottom="20px"
button.style['z-index']="999999"
var speed = 1;
var videos=document.querySelectorAll("video");
for (var video of videos ){
console.log('当前速度:',video.playbackRate); speed = video.playbackRate; }
button.textContent = speed == 2 ? '恢复原速':'点击倍速';
//绑定按键点击功能
button.onclick = function (){
var videos=document.querySelectorAll("video");
for (var video of videos ){
speed = video.playbackRate;
video.playbackRate = speed==1 ? 2 : 1;
speed = video.playbackRate;
console.log('改变速度:',speed);
button.textContent = speed==2 ? '恢复原速':'点击倍速';
}
//点击按钮后,会聚焦在按钮上,此时按空格(暂停键),不能实现暂停
//以下代码实现强制按钮失焦,并重新聚焦到视频,此时就可以使用空格暂停
document.getElementById("my_control_button").blur();
var containers = document.getElementsByClassName("video-previewer-container--3N0eI");
for (var container of containers ){
container.focus();
console.log('重新聚焦');
}
return;
};
document.body.appendChild(button);
})();