btw if you want to remove these bits from the ACM digital library site, you can use these uBlock rules:
dl.acm.org##article:remove-attr(data-has)
dl.acm.org##aside[data-core-aside="right-rail"]
dl.acm.org##div.edition-badge-wrapper
dl.acm.org##div.upgrade-banner
to also get rid of "check for updates":
dl.acm.org##a[data-target="crossmark"]
if you don't have premium, to remove those "features":
dl.acm.org##span.premium
dl.acm.org##section#sec-terms
dl.acm.org##section#sec-recommendations
dl.acm.org##section#sec-comments
to replace the epdf link (which opens their annoying pdf reader) with a pdf link (which opens in your browser's pdf reader) using a userscript:
// ==UserScript==
// @name fix ACM DL
// @match https://dl.acm.org/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.querySelectorAll("a[href*='epdf']").forEach((el) => {
el.setAttribute("href", el.getAttribute("href").replace("epdf", "pdf"));
});
})();