Greasy Fork is available in English.
미디어를 다운로드하거나 여는 버튼을 추가합니다
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)