blacktowhite.net bypass

stop getting cucked by the paywall

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        blacktowhite.net bypass
// @namespace   https://gist.github.com/chuckmingus/be8f465e5815789a6ba4f233a2d2b0eb
// @match       https://www.blacktowhite.net/videos/*
// @match       https://www.blacktowhite.net/media/*
// @grant       GM_addStyle
// @version     1.2
// @license     MIT
// @author      chuckmingus
// @icon        https://upload.wikimedia.org/wikipedia/commons/7/73/BandW.jpg
// @description stop getting cucked by the paywall
// ==/UserScript==
 
(function () {
  const cards = document.querySelectorAll(".itemList-item");
  //const cardArray = Array.from(card, (node) => node.cloneNode(true));
  const baseUrl = "https://www.blacktowhite.net";
 
  cards.forEach(card => {
    const target = card.querySelector("a.js-lbImage");
    const videoUrl = target.getAttribute("data-src");
    target.href = `${baseUrl}${videoUrl}`;
  })
 
 
  const videoPage = document.querySelector(".fancybox-video");
  if (videoPage) {
    GM_addStyle(`
      body > div {
        max-height: 100%;
        max-width: 100%;
        height: 100%;
        display: flex;
        position: relative;
      }
 
      body {
        margin: 0;
        background: #121212;
        max-width: 100% !important;
      }
 
      .fancybox-video {
        height: 100%;
        margin: auto;
        display: block;
        position: relative;
        max-width: 100%;
      }
    `)
  }
})();