インスタグラムで複数投稿の場合投稿数を表示
このスクリプトはインスタグラムで黒背景の段階を飛ばすgresemonkeyスクリプトと併用することをお勧めします
// ==UserScript== // @name insta_count // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://www.instagram.com/p/* // @grant none // ==/UserScript== var result = document.evaluate('//div[not(./node())][./following-sibling::div[not(./node())] or ./preceding-sibling::div[not(./node())]]', document, null, 7, null); if (result.snapshotLength > 1) { alert("This post contains " + result.snapshotLength + " photos or videos."); }