• hlqxz@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    It’s been so difficult lately with all the subreddits going private. Makes me sad that I can’t get help through Reddit anymore. Years and years of QnA down the drain.

  • Xanthrax@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Copy the link and search an archive; the sub me may be down anyways. Also post your solution here. Be the change you want to see

  • memchr@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago
    // ==UserScript==
    // @name        archive.org link
    // @include     *://*.google*/search*
    // @include     *://*
    // @exclude     *://*.archive.org*
    // @exclude     *://archive.org*
    // @grant       none
    // @version     1.0
    // @author      memchr
    // @description 6/15/2023, 6:57:32 AM
    // ==/UserScript==
    function get_archive_href(href) {
      return "https://web.archive.org/web/" + href.replace(/^https?:\/\/www\.reddit\.com/, "https://old.reddit.com")
    }
    
    if (window.location.hostname.match(/^(\w*\.)?google.*$/)) { // google
      const results = document.querySelectorAll('div.yuRUbf > a');
      results.forEach(e => {
        let href = e.getAttribute('href');
        href = get_archive_href(href);
        let archive_link = document.createElement('a');
        archive_link.href = href;
        archive_link.textContent = "archive";
        archive_link.style.marginLeft = "10px";
        e.insertAdjacentElement("afterend", archive_link);
      })
    } else if (!window.location.hostname.match(/(localhost$|^(127|192|10)\.)/)) {
      const href = get_archive_href(location.href);
      document.addEventListener('keydown', function(event) {
        if (event.ctrlKey && event.altKey && event.key === 'a') {
          window.location.href = href;
        }
      });
    }
    

    press shift+ctrl+A or click on archive if you use google.

  • Dunkin@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    True this, I had an issue using the duckstation emulator and then googled and the whole first page of search hits were reddit posts to a blacked out sub. Grrr.

  • _MoveSwiftly@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Whenever that happens, I take a look at the result and bring it here.

    I make a post at the relevant community. If it doesn’t exist, I make it. I encourage you to do the same. :)

    • Parsley@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      And this means we’re not giving them clicks or anything? It’s basically as if we’ve never visited in the first place?

      I get that “no ads no tracking”, but does the proxy give them a view? I don’t want them to get any traffic from me, proxy or otherwise.

      Thanks for sharing