Poofless321 / chan-Sankaku-adblock

Just a rogue dev making an adblocker
24 stars 1 forks source link

Ads Support Sankaku Complex #3

Open 6pu8wtw6 opened 4 months ago

6pu8wtw6 commented 4 months ago

@Poofless321 could you update the script its not working very well Is there a way to create a script to break the limit? There is no way to get to the end of the page, it always gives this message psl 1234

Poofless321 commented 4 months ago

@6pu8wtw6 Sorry for the late reply. Can you explain a bit? Does it redirect you to a new page, or is it just the pop-up? Also, what do you mean "break the limit"

6pu8wtw6 commented 4 months ago

@Poofless321 break the limit = called Infinite Scroll pixiv have a script like this example https://greasyfork.org/en/scripts/3091-pixiv-infinite-scroll-download-links Adds infinite scroll and inline expansion on the search page and artists' works pages. For manga mode a two-step expansion is used.

6pu8wtw6 commented 4 months ago

@Poofless321 Sankaku Channel

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="shortcut icon" href="//chan.sankakucomplex.com/favicon.png">
    <link rel="top" title="Sankaku Channel" href="/">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/prototype/1.7.3/prototype.js"></script>
    <script src="/assets/application-d2486f882bbaa81bd1be6b56ba0de9bcd1614c61b1e54256af56159e27ffb6d5.jsout"></script>
    <script src="/assets/application_classic-3f41c2ddac3a9ff08ab8c8b731f4156c28ea0436c8ab6ae75ae2c0e27fe59191.js"></script>
    <link rel="stylesheet" href="/assets/application-3ffb654338355b90bc917d2f9473fb75c9ae627eedf551418a4bd09ba3929d2a.css"/>
    <link href="//chan.sankakucomplex.com/stylesheets/app.css?191002253" media="screen" rel="stylesheet" type="text/css">
    <script src="//chan.sankakucomplex.com/javascripts/app.js?191002253" type="text/javascript"></script>
    <link rel="search" type="application/opensearchdescription+xml" title="Sankaku Complex" href="//www.sankakucomplex.com/opensearch.xml">
    <link rel="search" type="application/opensearchdescription+xml" title="Sankaku Channel" href="//chan.sankakucomplex.com/opensearch.xml">
    <script type="text/javascript">
        var _paq = _paq || [];
        _paq.push(['trackPageView']);
        _paq.push(['enableLinkTracking']);
        (function() {
            var u = "//a.sankakucomplex.com/x/";
            _paq.push(['setTrackerUrl', u + 'piwik.php']);
            _paq.push(['setSiteId', '2']);
            _paq.push(['setUserId', '6pu8wtw6']);
            var d = document
              , g = d.createElement('script')
              , s = d.getElementsByTagName('script')[0];
            g.type = 'text/javascript';
            g.async = true;
            g.defer = true;
            g.src = u + 'piwik.js';
            s.parentNode.insertBefore(g, s);
        }
        )();

that was the problem you were having = g.src = u + 'piwik.js'; s.parentNode.insertBefore(g, s);