在Instagram頁面加入下載按鈕與開啟按鈕,透過這些按鈕可以下載或開啟大頭貼與貼文、限時動態、Highlight中的照片或影片
Support dark mode by checking the url in v1.10. Please update to v1.10.
works everywhere except on individual post ie. instagram.com/p/xxxxx
I think this is because the script determines if Instagram is in dark mode or not by checking the url.
So please append ?theme=dark to the url (i.e., instagram.com/p/xxxxx/?theme=dark).
I'm looking for other ways to check if Instagram is in dark mode or not.
let iconColor = getComputedStyle(document.body).backgroundColor === 'rgb(0, 0, 0)' ? 'white' : 'black';
Is one way.
LGTM, merged in the script. Thanks!
谢谢
Can't see buttons when using dark theme (www.instagram.com/?theme=dark)