FlicksBar AD Remover

Clean page from adv and improve the site

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         FlicksBar AD Remover
// @namespace    https://t.me/flicksbar
// @version      1.52
// @description  Clean page from adv and improve the site
// @author       Devitp001
// @icon         https://www.kinopoisk.ru/favicon.ico
// @icon64       https://www.kinopoisk.ru/favicon.ico
// @match        https://flicksbar.info/*
// @match        https://flicksbar.mom/*
// @match        https://flcksbr.top/*
// @license MIT
// ==/UserScript==



//Deleted function of title

var percentOfVideo = 80;
var wrapperHeight ='calc(' + percentOfVideo + '%)';

function videoResize()
{

    document.querySelector("body > div").style.height=wrapperHeight;

}


function ADRemover()
{

    document.querySelector("body > div").style.height='calc(80%)';
    document.querySelector("#tgWrapper").remove();
    document.querySelector("#TopAdMb").remove();
    document.querySelector("body > div > div.brand").remove();
    document.querySelector("body > div > div.topAdPad").remove();
    document.querySelector("body > div > div.mainContainer > div.adDown").remove();
    document.querySelector("body > span").remove();
    document.querySelector("body > script:first-child").remove();

    var cclass = document.querySelector("#tgWrapper");

    cclass = document.getElementsByClassName('kinobox');
    cclass[0].style.minHeight='600px';

}

function initScript(ADR = 1,vR = 1)
{
    if (ADR === 1) ADRemover();
    if (vR === 1) videoResize();
}

window.onload=initScript();