Loginless instagram.com

1/6/2026, 6:09:55 PM

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Loginless instagram.com
// @namespace   Violentmonkey Scripts
// @match       https://www.instagram.com/*/*
// @grant       none
// @version     1.0
// @author      -
// @description 1/6/2026, 6:09:55 PM
// @license MIT
// ==/UserScript==




window.onload = () => {
// view posts without being logged in
  document.querySelectorAll("a[role=link]").forEach((el) => el.onmousedown = () => location.href = el.href)

  // when a post is opened, on click open the pic
  let image = document.querySelector("div:not([class]):not([id]):not([style])>div>div>img[src]")
  if (image) {
    image.parentElement.parentElement.onmousedown = () => {location.href = image.src}
  }
}