Brazzers - TWEAKED

View many short scenes without limits and links to download FULL scenes from LimeTorrents.

As of 11. 02. 2021. See the latest version.

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 or Violentmonkey 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.

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

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         Brazzers - TWEAKED
// @namespace    none
// @version      0.7
// @description  View many short scenes without limits and links to download FULL scenes from LimeTorrents.
// @author       Bob Crawley
// @match        https://www.brazzers.com/*
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function torrentify(){

        // Declaring variables to stop script from spazzing out.
        var i
        var sceneName

        // Add Torrentz link for scenes using jQuery

        // For all scenes on navigation pages
        var sceneCard = document.querySelectorAll("div.dtkdna-4.dtkdna-8");

        for (i=0; i<sceneCard.length; i++) {
            if (sceneCard[i].innerHTML.search("limetorrents.info")==-1)
            {
                sceneName = sceneCard[i].innerText;
                sceneCard[i].innerHTML += ('<span style="padding-left:5px;"><a target="_blank" href="https://www.limetorrents.info/search/all/'+sceneName+'"><img src="https://www.limetorrents.info/favicon.ico" width="16" height="16"></a></span>')
            }
        };

        // Not sure what this applies to.
        var sceneView = document.querySelectorAll("h2.sc-1b6bgon-1.kOFSRa");

        for (i=0; i<sceneView.length; i++) {
            if (sceneView[i].innerHTML.search("limetorrents.info")==-1)
            {
                sceneName = sceneView[i].innerText;
                sceneCard[i].innerHTML += ('<span style="padding-left:5px;"><a target="_blank" href="https://www.limetorrents.info/search/all/'+sceneName+'"><img src="https://www.limetorrents.info/favicon.ico" width="16" height="16"></a></span>')
            }
        };

        // For single page
        var singleScene = document.querySelector("h2.sc-1b6bgon-2.font-secondary")
        if(singleScene != null)
        {
            if (singleScene.innerHTML.search("limetorrents.info")==-1)
            {
                sceneName = singleScene.innerText;
                singleScene.innerHTML += ('<span style="padding-left:5px;"><a target="_blank" href="https://www.limetorrents.info/search/all/'+sceneName+'"><img src="https://www.limetorrents.info/favicon.ico" width="16" height="16"></a></span>')
            }
        }

        // Remove below banner
        var banner = document.getElementsByClassName("sc-1mhpkp8-3 fJgjZN");
        if(banner[0] != null)
        {
            banner[0].innerHTML = ""
        };

        console.log("running torrentify")

    }

    function triggerButton() {
        var torrentTriggerButton = document.createElement("BUTTON");
        var torrentTriggerButtonText = document.createTextNode("Click me");
        torrentTriggerButton.appendChild(torrentTriggerButtonText);

        var bigButton = document.querySelector("div.udqyc6-0.ioxKuO")
        var smallButton = document.querySelector("div.udqyc6-0.jCNwqs")

        if (smallButton){
            smallButton.innerHTML = "<a id='torrentify' href='javascript:void(0);'> torrentify </a>"
        }

        if (bigButton){
            bigButton.innerHTML = "<a id='torrentify' href='javascript:void(0);'> torrentify </a>"
        }
    }

    document.addEventListener("click",triggerButton);
    document.addEventListener("click",torrentify);
})();