Update 'yohoho-watch.user.js'
This commit is contained in:
@@ -2,18 +2,17 @@
|
||||
// @name Yohoho Watch
|
||||
// @namespace https://gitea.lzrdblzzrd.xyz/lzrdblzzrd/Yohoho-Watch
|
||||
// @author lzrdblzzrd
|
||||
// @description Watch films from Kinopoisk.ru on Yohoho for free!
|
||||
// @description Смотрите фильмы с Kinopoisk.ru на Yohoho бесплатно!
|
||||
// @downloadURL https://gitea.lzrdblzzrd.xyz/lzrdblzzrd/Yohoho-Watch/raw/branch/master/yohoho-watch.user.js
|
||||
// @updateURL https://gitea.lzrdblzzrd.xyz/lzrdblzzrd/Yohoho-Watch/raw/branch/master/yohoho-watch.user.js
|
||||
// @icon https://gitea.lzrdblzzrd.xyz/lzrdblzzrd/Yohoho-Watch/raw/branch/master/yohoho-watch.png
|
||||
// @version 1.0
|
||||
// @version 1.1
|
||||
// @match *://www.kinopoisk.ru/*
|
||||
// @grant none
|
||||
// @run-at document-end
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
const BANNER_IMAGE = `<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" id="Слой_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 128 512" style="enable-background:new 0 0 128 512;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:url(#Banner_00000055666303498189408720000007536872097726533817_);}
|
||||
@@ -63,6 +62,7 @@ function mountBanner() {
|
||||
banner.style.position = 'fixed';
|
||||
banner.style.zIndex = '9000';
|
||||
banner.style.transition = 'top 0.2s ease';
|
||||
banner.title = 'Смотреть на Yohoho'
|
||||
|
||||
banner.addEventListener('click', () => openPlayer());
|
||||
banner.addEventListener('mouseover', () => { banner.style.top = '-24px' });
|
||||
|
Reference in New Issue
Block a user