GBT Flag Distancer

Adds margin to flag elements

Від 29.08.2025. Дивіться остання версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         GBT Flag Distancer
// @namespace    _pc
// @version      0.2
// @description  Adds margin to flag elements
// @author       verydelight
// @license      MIT
// @icon         https://www.gayporntube.com/favicon.ico
// @connect      gayporntube.com
// @compatible   Firefox Tampermonkey
// @match        *://*.gayporntube.com/*
// ==/UserScript==
'use strict';
const SPACING = 25; //spacing in pixels/px
(function() {
    const style = document.createElement('style');
    style.textContent = `
    #content a:has(.fas) {
    margin-left: ${SPACING}px !important;
    margin-right: ${SPACING}px !important;
    visibility: visible !important;
    }
    #content .main-title a:has(.fas),
    #content .blog-item-entry-details a:has(.fas),
    #content .gallery-navigation a:has(.fas){
    margin-left: initial !important;
    margin-right: initial !important;
    visibility: initial !important;
    }
    `;
    document.head.appendChild(style);
})();