sinew: (Default)
erin ([personal profile] sinew) wrote in [community profile] horrified2023-10-19 06:09 pm
Entry tags:

[tutorial] mass edit icon credits

here's a scenario probably every journal user has experienced: you find an icon community, and you save a lot of icons. then you're so caught up in the euphoria of finding neat icons that you forget that icon crediting exists. it's not the worst thing in the world, especially if you're copying and pasting, but it's also also not fun

well, the beautiful wastintime on insanejournal created a script to make this process less tedious!

they have instructions to get it installed, so i won't go over that, but i will show you how it works

after installing, if you go to the icons page, you may notice things look different. i guess it can depend on various factors like screen size, but for me the script's menu would load over the upload button and unfortunately kinda be in my way. there's an option to close the menu, but clicking on that every time i wanted to select an icon got tedious when i'd batch upload :,)



so, if the placement of the menu bothers you, first i recommend setting it to only run upon selecting it in the context menu. this means the popup window won't always display on the icon management page, and will only appear when you need it

different browsers handle this in different ways, but typically you should have an icon for tampermonkey/greasemonkey somewhere in your browser bar, or your browser should offer a way to manage all your installed extensions. (i use chrome, and for that browser i highly recommend simple extension manager to easily pin extensions to your menu.) once you've located that, there should be a dashboard/settings option. when you click that, it will open a new tab listing all the scripts you have installed


an example of my own menu bar in chrome. the tampermonkey icon is in the middle


an example of what appears when you click on the tampermonkey button and the dashboard option


in this new tab, select the extension's name (insanejournal batch icon crediting.) this will open another new tab with a lot of code on it. don't fiddle with any of the code, as that can break the script. instead, click on the settings tab. here, go down to the general section. in the "run at" dropdown menu, select "context-menu." then click the save button under the updates section



now on the icons page, the script menu shouldn't appear by default. instead, you need to right click, select tampermonkey from the context-menu, then select the script name to make it appear only when you want to use it



i did tinker with the position setting in the same "general" section, but for me the menu would only load in one spot no matter what i selected. maybe you'll have better luck trying that if you don't want it available in the context-menu!

now, for actually using the script!

with the script menu open, you have a few options on how to manage the credits. you can select all the icons you have uploaded, but i only recommend that if you only have icons uploaded from the same source. then you can select blank, which would be useful after uploading icons from the same maker. if you hadn't made a comment on any of those uploads, then boom! you can mass credit that way

i myself had various icons icons from various makers uploaded, so the best option for me was the range feature. it's exactly what it says on the tin: you tell it the range of icons you want to edit, and it does. the list of course starts at 1 being the first icon you see. it may require some manual counting to get your personal range :,)

in my example i happened to have a few icons made by myself listed first, so i had an easy range


this is my original comments, and the settings i had in the script menu before i clicked "update credit"


and this is after i clicked "update credit"


i personally had been using plain text "community @ site" credits, but i opted to switch them for dreamwidth's built-in account linking system. dreamwidth has a guide on how to make these links here

...but if you want a handy-dandy link for this community in particular to copy and paste, here it is lol


after you have updated your credits, click save at the bottom of the page as normal, and voila! based on your settings things should be updated! note: you don't have to click save every time you click "update credit" in the script menu. you can select a different range, click "update credit," and keep doing that until everything you want changed is, then you can save it all so you don't have to keep opening the context-menu every time you save. you can also manually edit individual icon comments before hitting save as well if you have some errant one-offs lol


what the credits on my icon page looked like before (i have a custom icon page and not the default if you wonder why mine looks different)


and what they look like after


et voila! hopefully this will make the process of adding/editing icon credits easier!
luckyzukky: kara zor-el from dc comics (dc | kara #1)

[personal profile] luckyzukky 2023-10-20 12:49 am (UTC)(link)
thanks for sharing, this is very helpful!
kissed: (personal (♥) lavender)

[personal profile] kissed 2023-10-20 11:57 pm (UTC)(link)
*eyes* 70% of the reason i pay for premium is for my icon slots aaaand this is amazing, ty for sharing! it looks so painless i love it