Add the download button and the open button to download or open profile picture and media in the posts, stories, and highlights in Instagram
< Feedback on Instagram Download Button
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)