How to mark all jobs as viewed in Linkedin with your browser console

This solution is working in April 2025:

  1. Go to your Jobs Linkedin page
  2. Open your browser console
  3. Type this piece of code
const buttons = document.querySelectorAll(".artdeco-button--2");
let num = 0;
buttons.forEach((button) => {
  const ariaLabel = button.getAttribute("aria-label")?.toLowerCase();
  if (ariaLabel && ariaLabel.startsWith("dismiss")) {
    button.click();
    num++;
  }
});
console.log(`${num} dismissed`);

Before: Screenshot 2025-04-23 at 17

After: after