giddy

joined 1 year ago
[–] giddy 2 points 1 year ago (1 children)

I look forward to following your progress. I will sadly miss Apollo

[–] giddy 1 points 1 year ago

I'm working on a user script to mark posts as read when I scroll past but I haven't got it working yet

[–] giddy 4 points 1 year ago* (last edited 1 year ago) (3 children)

I use a custom script to open all post and external links on the front page in a new tab. Based on a script I found online but customised to beehaw specifically.

// ==UserScript==
// @name         beehaw - Open links in new tab
// @description  Open links in new tab. Ctrl-click or Middle-click loads it in background
// @match      http*://*beehaw.org/home*
// @match      http*://*beehaw.org
// @version      0.0.1
// @grant        GM_openInTab
// @run-at       document-start
// ==/UserScript==

var suppressing, clickedElement;

window.addEventListener('mousedown', function (e) {
  clickedElement = e.target;
}, true);

window.addEventListener('mouseup', function (e) {
  if (e.button > 1 || e.altKey || e.target != clickedElement) {
    return;
  }
  var link = e.target.closest('a');

  if (!link || !link.href) {
      return;
  }

  if (link.getAttributeNode('aria-label') && link.getAttributeNode('aria-label').value == 'Expand here') {
      return;
  }

  if (link.href.startsWith('https://beehaw.org') && !link.href.startsWith('https://beehaw.org/post/')) {
    return;
  }

  GM_openInTab(link.href, {
    active: !e.button && !e.ctrlKey,
    setParent: true,
    insert: true,
  });
  suppressing = true;
  setTimeout(function () {
    window.dispatchEvent(new MouseEvent('mouseup', {bubbles: true}));
  });
  prevent(e);
}, true);

window.addEventListener('click', prevent, true);
window.addEventListener('auxclick', prevent, true);

function prevent(e) {
  if (!suppressing) {
    return;
  }
  e.preventDefault();
  e.stopPropagation();
  e.stopImmediatePropagation();
  setTimeout(function () {
    suppressing = false;
  }, 100);
}

[–] giddy 1 points 1 year ago (1 children)

EPW Evolution at Willeton Stadium!

[–] giddy 3 points 1 year ago (1 children)

Not a mod but looking forward to see what you come up with. Not a. If fan of the lemmy web ui

[–] giddy 2 points 1 year ago

Daddy Magic is gold

[–] giddy 2 points 1 year ago

tone deaf much?

[–] giddy 2 points 1 year ago

ooh nice. Somebody needs to package all these up into some kind of enhancement suite :-)

[–] giddy 4 points 1 year ago (3 children)

I can see you

[–] giddy 7 points 1 year ago
  1. stop refreshing the front page/inserting new posts automatically
  2. mark as read on scroll past
  3. multireddit
  4. decent ipad app - mlem is a rgeat start on iphone but no ipad support
  5. consistent 'go back' experience - I have on a number of occasions gone into a post then clicked browser back button only to be presented with a completely different list of posts on my front page
[–] giddy 2 points 1 year ago

Absolutely agree. THis is a big one for me

view more: β€Ή prev next β€Ί