Brazzers - TWEAKED

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

  1. // ==UserScript==
  2. // @name Brazzers - TWEAKED
  3. // @namespace none
  4. // @version 0.9
  5. // @description View many short scenes without limits and links to download FULL scenes from LimeTorrents.
  6. // @author Bob Crawley
  7. // @copyright 2021, bobcrawley (https://openuserjs.org/users/bobcrawley)
  8. // @license MIT
  9. // @match https://www.brazzers.com/*
  10. // @require https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. function torrentify(){
  18.  
  19. // Declaring variables to stop script from spazzing out.
  20. var i
  21. var sceneName
  22.  
  23. // Add Torrentz link for scenes using jQuery
  24.  
  25. // For all scenes on navigation pages
  26. var sceneCard = document.querySelectorAll("div.dtkdna-4.dtkdna-10");
  27.  
  28. for (i=0; i<sceneCard.length; i++) {
  29. if (sceneCard[i].innerHTML.search("limetorrents.info")==-1)
  30. {
  31. sceneName = sceneCard[i].innerText;
  32. 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>')
  33. }
  34. };
  35.  
  36. // Not sure what this applies to.
  37. var sceneView = document.querySelectorAll("h2.sc-1b6bgon-1.kOFSRa");
  38.  
  39. for (i=0; i<sceneView.length; i++) {
  40. if (sceneView[i].innerHTML.search("limetorrents.info")==-1)
  41. {
  42. sceneName = sceneView[i].innerText;
  43. 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>')
  44. }
  45. };
  46.  
  47. // For single page
  48. var singleScene = document.querySelector("h2.sc-1b6bgon-2.font-secondary")
  49. if(singleScene != null)
  50. {
  51. if (singleScene.innerHTML.search("limetorrents.info")==-1)
  52. {
  53. sceneName = singleScene.innerText;
  54. 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>')
  55. }
  56. }
  57.  
  58. console.log("running torrentify")
  59.  
  60. }
  61.  
  62. function triggerButton() {
  63. var torrentTriggerButton = document.createElement("BUTTON");
  64. var torrentTriggerButtonText = document.createTextNode("Click me");
  65. torrentTriggerButton.appendChild(torrentTriggerButtonText);
  66.  
  67. var bigButton = document.querySelector("div.udqyc6-0.ioxKuO")
  68. var smallButton = document.querySelector("div.udqyc6-0.jCNwqs")
  69.  
  70. if (smallButton){
  71. smallButton.innerHTML = "<a id='torrentify' href='javascript:void(0);'> torrentify </a>"
  72. }
  73.  
  74. if (bigButton){
  75. bigButton.innerHTML = "<a id='torrentify' href='javascript:void(0);'> torrentify </a>"
  76. }
  77.  
  78. console.log("running triggerButton")
  79. }
  80.  
  81. function cookiesFix() {
  82. function setCookies(cookieName, cookieValue, domainName, cookieExpires) {
  83. document.cookie = cookieName + "=" + cookieValue + ";path=/; domain=" + domainName + "; expires=" + cookieExpires;
  84. };
  85.  
  86. var domainName = ".brazzers.com";
  87.  
  88. // Unlimited Scene Views
  89. setCookies("cb-scene", "off", domainName, "");
  90.  
  91. // Remove Social Media side
  92. setCookies("social-media", "off", domainName, "");
  93.  
  94. // Bypass homepage I Agree
  95. setCookies("iAgree", "1", domainName, "");
  96. setCookies("ats", "eyJhIjo5NDk2LCJjIjo1NjU4NTQyNSwibiI6MTQsInMiOjg2LCJlIjo4NDI2LCJwIjozfQ==", domainName, "");
  97.  
  98. // Remove bottom Join Now banner
  99. setCookies("wep1-29934-fl-rem", "1", domainName, "");
  100.  
  101. // Remove below banner
  102. var banner = document.getElementsByClassName("sc-1mhpkp8-3 fJgjZN");
  103. if(banner[0] != null)
  104. {
  105. banner[0].innerHTML = ""
  106. };
  107.  
  108. console.log("running cookiesFix")
  109. }
  110.  
  111. document.addEventListener('click',() => {
  112. triggerButton();
  113. torrentify();
  114. cookiesFix();
  115. });
  116.  
  117. })();