RU AdList JS Fixes

try to take over the world!

旧版: v20210116.1 - 2021-01-16 - Forgot to remove unnecessary debug message.
新版: v20210120.0 - 2021-01-20 - Updated code for Yandex.

  • --- /tmp/diffy20250422-2156665-6lwb0 2025-04-22 15:36:48.796472079 +0000
  • +++ /tmp/diffy20250422-2156665-se2l6s 2025-04-22 15:36:48.797472091 +0000
  • @@ -1,7 +1,7 @@
  • // ==UserScript==
  • // @name RU AdList JS Fixes
  • // @namespace ruadlist_js_fixes
  • -// @version 20210116.1
  • +// @version 20210120.0
  • // @description try to take over the world!
  • // @author lainverse & dimisa
  • // @supportURL https://gf.qytechs.cn/en/scripts/19993-ru-adlist-js-fixes/feedback
  • @@ -5276,7 +5276,8 @@
  • nt.define('localStorage.yandexJSPlayerApiSavedSingleVideoSessionWatchedTimeSinceAd', Math.random() * 1000);
  • // cookie cleaner
  • - let yp_keepCookieParts = /\.(sp|ygo|ygu)\./; // ygo = city id; ygu = detect city automatically
  • + let yp_keepCookieParts = /\.(sp|ygo|ygu|fblkv2)\./;
  • + // ygo = city id; ygu = detect city automatically; fblkv2 = visible sections on the main page under search
  • let _doc_proto = ('cookie' in _Document) ? _Document : Object.getPrototypeOf(_document);
  • let _cookie = Object.getOwnPropertyDescriptor(_doc_proto, 'cookie');
  • if (_cookie) {

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址