Bypass CimaNow

This script enhances your experience on CimaNow by bypassing countdown timers, blocking popups, preventing fake redirects, and unlocking the download page for a seamless streaming experience.

À partir de 2025-02-22. Voir la dernière version.

// ==UserScript==
// @name         Bypass CimaNow
// @name:ar      تخطي سيما ناو
// @namespace    Violentmonkey Scripts
// @version      2.2.2
// @description This script enhances your experience on CimaNow by bypassing countdown timers, blocking popups, preventing fake redirects, and unlocking the download page for a seamless streaming experience.
// @description:ar هذا السكربت مصمم لتحسين تجربتك على موقع CimaNow. يقوم بتجاوز العد التنازلي، وحظر النوافذ المنبثقة، ومنع عمليات إعادة التوجيه الوهمية، وفتح صفحة التحميل مباشرة، مما يوفر تجربة مشاهدة سلسة دون إزعاج.
// @author       Ezio Auditore
// @license      MIT
// @icon         https://i.imgur.com/blh1X07.png
// @match        *://cimanow.cc/*
// @match        *://vip.cimanowinc.com/*
// @match        *://bs.cimanow.cc/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function () {
  "use strict";

  const newUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 OPR/109.0.0.0";

  Object.defineProperty(navigator, "userAgent", {
    get: function () {
      return newUserAgent;
    },
  });

  function maskBraveDetection() {}

  function appendWatching(url) {
    const urlObj = new URL(url);
    const path = urlObj.pathname;

    // Redirect root to /home/
    if (path === '/') {
      window.location.replace('/home/');
      return;
    }

    const exceptions = [
      "/home/",
      "/category/",
      "/selary/",
      "/recent/",
      "/الاحدث/",
      "/plans/",
      "/%D8%A7%D9%84%D8%AD%D8%AF%D9%8A%D8%AB/",
      "/%d8%a7%d9%84%d8%a7%d8%ad%d8%af%d8%ab/",
    ];

    const isException = exceptions.some((exception) => path.includes(exception));

    if (
      isException ||
      url.includes("/watching/") ||
      url.endsWith("watching/")
    ) {
      return;
    }

    const newUrl = url.endsWith("/") ? `${url}watching/` : `${url}/watching/`;
    window.location.replace(newUrl);
  }

  function injectAdblockRules() {
    const style = document.createElement("style");
    style.textContent = `
      cimanow.cc##+js(acs, Object.assign)
      cimanow.cc##+js(brave-fix)
    `;
    document.documentElement.appendChild(style);
  }

  function init() {
    try {
      appendWatching(window.location.href);
      injectAdblockRules();
    } catch (error) {
      console.error("Error during script execution:", error);
    }
  }

  init();
})();
长期地址
遇到问题?请前往 GitHub 提 Issues。