FreePoisk

Redirects the current page from Kinopoisk to Flicksbar.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        FreePoisk
// @version     1
// @description Redirects the current page from Kinopoisk to Flicksbar.
// @match       https://www.kinopoisk.ru/series/*/*
// @match       https://www.kinopoisk.ru/film/*/*
// @grant       unsafeWindow
// @icon        https://www.kinopoisk.ru/favicon.ico
// @icon64      https://www.kinopoisk.ru/favicon.ico
// @grant       none
// @namespace https://greasyfork.org/users/1259312
// ==/UserScript==

(function() {
    'use strict';

    function redirectURL() {
        var currentURL = window.location.href;
        var newURL = currentURL.replace('www.kinopoisk.ru', 'www.sspoisk.ru');
        window.location.href = newURL;
    }

    function createButton() {
        var button = document.createElement('button');
        button.innerHTML = 'СМОТРЕТЬ БЕСПЛАТНО';
        button.style.position = 'fixed'; 
        button.style.bottom = '20px'; 
        button.style.right = '20px'; 
        button.style.zIndex = '9999';
        button.style.width = 'unset';
        button.style.height = '52px';
        button.style.padding = '14px 28px';
        button.style.fontSize = '16px';
        button.style.fontWeight = '600';
        button.style.lineHeight = '20px';
        button.style.borderRadius = '1000px';
        button.style.background = 'linear-gradient(90deg,#ff5c4d,#eb469f 26.56%,#8341ef 75%,#3f68f9)';
        button.style.border = 'none'; 
        button.style.color = 'white'; 
        button.style.cursor = 'pointer'; 
        button.style.boxShadow = '0 4px 6px rgba(0,0,0,.1)'; 
        button.style.transition = 'background .2s ease,transform .2s ease,box-shadow .2s ease';
        button.onclick = redirectURL;

        document.body.appendChild(button); 
    }

    createButton();
})();