Instagram - visible images counter

Shows in instagram profile pages how many images out of total (as a number and as a percentage) are currently visible, as you scroll down the page.

コードが変更されたバージョンのみを表示しています。 すべてのバージョンを表示

  • v2024.2.23 2024/02/23 Imported from URL
  • v2023.9.27 2023/09/26

    Update Instagram_-_visible_images_counter.user.js

    Fix https://github.com/darkred/Userscripts/issues/52#issuecomment-1736307112

  • v2023.3.31 2023/03/31 Update Instagram_-_visible_images_counter.user.js Updated a selector after recent changes in Instagram HTML
  • v2022.11.13 2022/11/13 Update Instagram_-_visible_images_counter.user.js Fix https://github.com/darkred/Userscripts/issues/52#issuecomment-1304661340
  • v2022.11.5 2022/11/05 Update Instagram_-_visible_images_counter.user.js Updated a selector after recent site redesign. Closes #52 .
  • v2022.9.5 2022/09/04 Update Instagram_-_visible_images_counter.user.js Updated 'thePics' selector ( per https://greasyfork.org/en/scripts/11635-instagram-visible-images-counter/discussions/142467 )
  • v2022.6.12 2022/06/12 Updated most selectors after recent site code changes + create trust policy conditionally
  • v2022.2.13 2022/02/12 (Instagram - visible images counter) Updated/combined two selectors
  • v2021.12.18 2022/01/06 Removed unused var
  • v2021.12.18 2021/12/18 Update Instagram_-_visible_images_counter.user.js Restored a previous selector after recent changes in Instagram HTML
  • v2021.12.13 2021/12/12 Update Instagram_-_visible_images_counter.user.js Updated most selectors after recent changes in Instagram HTML
  • v2021.4.12 2021/04/12 Update Instagram_-_visible_images_counter.user.js Fix for https://greasyfork.org/en/scripts/11635-instagram-visible-images-counter/discussions/82028
  • v2021.3.11 2021/03/11 Update Instagram_-_visible_images_counter.user.js - avoid NaN in counter - fix for https://github.com/darkred/Userscripts/issues/24#issuecomment-796407167 - updated/improved pics selector
  • v2021.3.10 2021/03/10 Update Instagram_-_visible_images_counter.user.js Removed a stray alert()
  • v2021.3.8 2021/03/08 Update Instagram_-_visible_images_counter.user.js Better support for History API navigation
  • v2019.4.28 2020/06/25 (all scripts) Added @supportURL pointing to the GitHub repo (thanks to Jason Barnabe for the suggestion)
  • v2019.4.28 2019/10/27 (various scripts) Converted file encoding from 'UTF-8 with BOM' to 'UTF-8'
  • v2019.4.28 2019/04/27 (Instagram - visible images counter) Updated some selectors
  • v2018.12.2 2018/12/01 Update Instagram_-_visible_images_counter.user.js (Instagram - visible images counter) Updated the 'avatarSelector', for the counter element creation, after recent changes in Instagram HTML (per https://greasyfork.org/en/forum/discussion/47370).
  • v2018.11.3 2018/11/03 Update Instagram_-_visible_images_counter.user.js Updated the selector for the visible images counter (per https://greasyfork.org/en/forum/discussion/45041/x )
  • v2018.9.8 2018/09/08 (Instagram - visible images counter) Added a second selector for 'totalString', for when you are not logged in.
  • v2018.8.14 2018/08/13 (Instagram - visible images counter) Now using a better selector for the 'total' element, i.e. without the jQuery ":contains()" selector.
  • v2018.8.8 2018/08/08 (Instagram - visible images counter) Now it also works in localized pages, e.g. https://www.instagram.com/instagram/?hl=de
  • v2018.4.28 2018/05/20 (All scripts) Rearranged the metadata block
  • v2018.4.28 2018/04/27 (Instagram - visible images counter) - removed no longer needed code (for autoclicking the "LOAD MORE button") - now the script also works when following profile links from the 'Search' button results
  • v2018.4.3 2018/04/02 (Instagram - visible images counter) fix the selector specificity of the observer target
  • v2018.3.4.1 2018/03/04 (Instagram - visible images counter) Fixed the counter to show the correct initial visible images count. Fixed the counter to become reset when navigating away from a profile page (to any other page).
  • v2018.3.4 2018/03/04 (Instagram - visible images counter) Slightly renamed a variable and a function.
  • v2018.3.4 2018/03/04 (Instagram - visible images counter) Changed again the selector for the avatar element in profile pages . Replaced in the the 'arrive' and 'leave' lines the jQuery element $(document) into pure javascript, i.e. 'document' Removed an unneeded if/else. Re-indented the script.
  • v2018.3.3 2018/03/03 (Instagram - visible images counter) improved the selector for the avatar element in profile pages
  • v2018.2.27 2018/02/27 Changed the values values of a few @require keys(all for greasyfork.org) to point to non version specific URLs
  • v2018.2.16 2018/02/15 (Instagram - visible images counter) Now the script no longer re-calculates counter when you reach the end of the profile. Also, removed the unneeded property 'childList for the observer
  • v2018.2.13 2018/02/12 (Instagram - visible images counter) Updated for the latest Instagram change where, as you scroll down the page, and new top 'row' nodes(with 3 images each) are added, at the same time the top/oldest 'row' nodes are removed, in order to keep the document small.
  • v2017.11.21 2017/11/21 (Instagram - visible images counter) Improved some selectors and added one more 'arrive'
  • v2017.11.14 2017/11/17 Greasemonkey 4.0 compatibility
  • v2017.11.5 2017/11/12 Added '@licence MIT' (required by OUJS, in order to allow import and autoupdate of scripts from GitHub)
  • v2017.11.5 2017/11/05 (Instagram - visible images counter) updated the selector for when navigating/leaving a profile page.
  • v2016.11.18 2016/11/18 Synced from GitHub - (Instagram - visible images counter) Fix for when the counter should not appear (e.g. in timeline)
  • v2016.08.02 2016/09/17 Synced from GitHub - Converted all scripts encoding from UTF-8 back to UTF-8 BOM (i.e. with the same encoding that Greasemonkey installs them in)
  • v2016.08.02 2016/08/13 Imported from URL
  • v2016.08.02 2016/08/12 Imported from URL
  • v2016.08.02 2016/08/02 Some more refactoring
  • v2016.08.02 2016/08/02
  • v2016.08.02 2016/08/02
  • v2016.08.02 2016/08/02 Fix for instagram main page + refactoring\
  • v2016.08.02 2016/08/02
  • v2016.08.02 2016/08/02
  • v2016.08.02 2016/08/02 Now it's no no longer needed to open a profile page in a new tab (using the arrive.js library)
  • v2016.07.04 2016/07/03 Changed the @require (from jQueryUI to jQuery)
  • v2016.06.13 2016/06/13 Minor Update for recent changes in instagram HTML

スクリプトのすべてのバージョンを表示