# \[UserScript\] Avatar Size & Sub-Category Adjustment

**URL:** <https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032>\
**Category:** Third Party Developers\
**Tags:** forum-improvement\
**Created:** [July 7, 2017, 4:16am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032 "2017-07-07T04:16:22Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Veskin\_Sentinel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/veskin_sentinel/32/506480_2.png) [@Veskin\_Sentinel](https://forums.eveonline.com/u/Veskin_Sentinel)\
**Post date:** [August 12, 2017, 4:50am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/42 "2017-08-12T04:50:52Z")

</div>

Another Update: Yay, the update interface on the forums works again! Thanks to everyone involved in the fix! 🙂

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [August 12, 2017, 5:08am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/43 "2017-08-12T05:08:54Z")

</div>

Personally I still get the real-time ‘new reply’ notices. These scripts here don’t really touch anything but the stylesheets which wouldn’t have any effect on that; but it’s possible that the addon itself is conflicting with something.

Can’t say since I haven’t had the issue myself.

There are some other addons that you can try that accept userscripts; granted I haven’t tested in those addons; but you can still give them a try and see if maybe it will resolve it for you; GreaseMonkey is one of them.

Edit: I see you got it resolved yourself, so disregard. 😁

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [August 12, 2017, 5:12am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/44 "2017-08-12T05:12:01Z")

</div>

If you’re using one of the original version I made, it does use the drifter pictures. All you need to do is update it with the current version and you should have the drone picture. 🙂

---

<div class="post-metadata">

**Author:** ![Veskin\_Sentinel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/veskin_sentinel/32/506480_2.png) [@Veskin\_Sentinel](https://forums.eveonline.com/u/Veskin_Sentinel)\
**Post date:** [August 12, 2017, 5:15am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/45 "2017-08-12T05:15:30Z")

</div>

Solved. Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [August 12, 2017, 5:21am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/46 "2017-08-12T05:21:58Z")

</div>

Interesting. Didn’t really consider making a circle version. Personally I hated the circle portraits all together. 😁 Glad you got it figured out. Looks good.

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [August 12, 2017, 6:51am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/47 "2017-08-12T06:51:41Z")

</div>

While the circle portraits are nice, I prefer the square ones since it shows the whole original portrait that was created in Character Customization.

Also I changed the size in the script to 140x140 which makes it just a tad bit larger, making it easier to view.

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [August 12, 2017, 6:55am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/48 "2017-08-12T06:55:00Z")

</div>

Exactly. I like the full avatar. 😘

---

<div class="post-metadata">

**Author:** ![Expendable\_Unit](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/expendable_unit/32/377349_2.png) [@Expendable\_Unit](https://forums.eveonline.com/u/Expendable_Unit)\
**Post date:** [September 4, 2017, 5:04pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/49 "2017-09-04T17:04:15Z")

</div>

you guys for real?

---

<div class="post-metadata">

**Author:** ![Nana\_SkaIski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skaiski/32/126779_2.png) [@Nana\_SkaIski](https://forums.eveonline.com/u/Nana_SkaIski)\
**Post date:** [February 8, 2018, 8:46am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/50 "2018-02-08T08:46:28Z")

</div>

The default character avatars on forum without script changed from default 90 px to 45 px? 🤔

I had to replace 90 with 45 for avatar script to work.

```
$(window).on("load resize scroll",function(e){
    var imagelist = Array.from(document.getElementsByTagName('img'));
    imagelist.forEach(function(element) {
        element.src = element.src.replace("/45/", "/240/");
```

---

<div class="post-metadata">

**Author:** ![Vortexo\_VonBrenner](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vortexo_vonbrenner/32/64874_2.png) [@Vortexo\_VonBrenner](https://forums.eveonline.com/u/Vortexo_VonBrenner)\
**Post date:** [May 24, 2018, 2:40pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/51 "2018-05-24T14:40:49Z")

</div>

![image](https://global.discourse-cdn.com/eveonline/original/3X/c/3/c38295b2684d903d5da19f7756ff051e638b7c11.gif)  
Can’t believe I’ve been using forums for almost a year without this. This script makes a nice QOL adjustment to forum viewing.  
Thank you @Erika_Mizune (if you are still in EvE…well…thanks regardless)

All this time later…CCP…?

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [June 7, 2018, 6:15am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/52 "2018-06-07T06:15:52Z")

</div>

Oh, I’m still in Eve. 😋

No problem at all! I’m just happy that my little script helps others and makes the forums more friendly. 😊

It would be nice for CCP to make this an option vs having to go throulgh this route. ☹ Maybe one day! 😁

---

<div class="post-metadata">

**Author:** ![Yiole\_Gionglao](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/yiole_gionglao/32/516090_2.png) [@Yiole\_Gionglao](https://forums.eveonline.com/u/Yiole_Gionglao)\
**Post date:** [June 7, 2018, 6:42am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/53 "2018-06-07T06:42:24Z")

</div>

Never not like a post by Erika Mizune, savior of our large squareness!

---

<div class="post-metadata">

**Author:** ![Erika\_Mizune](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erika_mizune/32/154477_2.png) [@Erika\_Mizune](https://forums.eveonline.com/u/Erika_Mizune)\
**Post date:** [June 7, 2018, 6:42am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/54 "2018-06-07T06:42:58Z")

</div>

Daw thank you 😍

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [March 18, 2019, 5:42am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/55 "2019-03-18T05:42:30Z")

</div>

> [@Erika\_Mizune](#):
>
> Eve Forums Portal Menu; this is just a script to add a portal menu to the top navigation. See example [here](http://i.imgur.com/qT1Zuzh.png). Get the edit [here](https://pastebin.com/wgHypzAB). Hopefully this will be just a temporary edit until CCP adds in a official menu.

Don’t know if @Erika_Mizune is still active or if anyone else can help but there seems to be a problem with the Forum Portal script.

Whenever the forum page changes, the Portal Icon no longer appears next to the character portrait in the top right corner of the header.

However when the page is reloaded, the Portal Icon is back active.

The Portal Icon stays active while browsing various sub-forums, it disappears when you open / reply to a thread. Reloading / refreshing the page will display the Portal Icon again.

Anyway, this issue is more of an inconvenience / nuisance, hopefully it can be easily fixed.

Also for some reason the original generic icon for discobot is now being displayed. It no longer displays the Drone icon and I haven’t changed the script.

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 1:51am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/56 "2019-12-14T01:51:23Z")

</div>

@Nana_Skalski @Uriel_Paradisi_Anteovnuecci @Vortexo_VonBrenner

Just wondering if any of you still have the User Scripts working, for some reason mine stopped working and I’d like to get them active again, these forums are much more user friendly with the scripts enabled.

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [December 14, 2019, 6:56am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/57 "2019-12-14T06:56:09Z")

</div>

```
// ==UserScript==
// @name Eve Avatar/Sub-Category Adjustment (120x120)
// @namespace erika-mizune-eve-forum-avatar-adjustment-120
// @version 1.0
// @description Resize forum avatars and readjust subcategory layout
// @author Erika Mizune
// @match https://forums.eveonline.com/*
// @grant none
// ==/UserScript==

/*jshint multistr: true */

$('head').append(
    '\
<style>\
span.subcategory { display: table-row !important; }\
.topic-avatar img.avatar { height: 140px; width: 140px; border-radius: 0; }\
.topic-avatar { width: 140px !important; }\
section.embedded-posts.bottom .topic-avatar img.avatar { height: 45px; width: 45px; border-radius: 50%; }\
section.embedded-posts.bottom .topic-avatar { width: 45px !important; }\
section.embedded-posts.top .topic-avatar img.avatar { height: 45px; width: 45px; border-radius: 50%; }\
section.embedded-posts.top .topic-avatar { width: 45px !important; }\
#user-card .user-card-avatar { float: left; margin-right: 10px; margin-top: -25px; }\
#user-card .user-card-avatar img.avatar { border-radius: 0 !important; }\
#user-card h2.username { visibility: hidden; margin-top: -30px; }\
span.second.username { visibility: hidden; }\
</style>\
'
);

$(window).on("load resize scroll",function(e){
    var imagelist = Array.from(document.getElementsByTagName('img'));
    imagelist.forEach(function(element) {
        element.src = element.src.replace("/45/", "/240/");
    });
    var botimg = Array.from(document.getElementsByTagName('img'));
    botimg.forEach(function(element) {
        element.src = element.src.replace("https://discourse-cdn-sjc1.com/eveonline/user_avatar/forums.eveonline.com/discobot/240/99_1.png", "https://discourse-cdn-sjc1.com/eveonline/uploads/default/original/2X/9/94fc4dd8ad6f71870b31e9987feea8171438af31.png");
    });
var botimgsmall = Array.from(document.getElementsByTagName('img'));
    botimgsmall.forEach(function(element) {
        element.src = element.src.replace("https://discourse-cdn-sjc1.com/eveonline/user_avatar/forums.eveonline.com/discobot/240/99_1.png", "https://discourse-cdn-sjc1.com/eveonline/uploads/default/original/2X/9/94fc4dd8ad6f71870b31e9987feea8171438af31.png");
    });
var botimgmed = Array.from(document.getElementsByTagName('img'));
    botimgmed.forEach(function(element) {
        element.src = element.src.replace("https://discourse-cdn-sjc1.com/eveonline/user_avatar/forums.eveonline.com/discobot/240/99_1.png", "https://discourse-cdn-sjc1.com/eveonline/uploads/default/original/2X/9/94fc4dd8ad6f71870b31e9987feea8171438af31.png");
    });
});

```

Its entire script.  
I use Tampermonkey 4.9.6095 2019-11-15  
And Firefox 71.0 (64 bit)  
Dont know if it works elsewhere.

If it doesnt work with this setup. I think it may be something else blocking scripts for browser. Or the script was turned off.

EDIT: well it worked until I wanted to show the avatar picture using function show the picture in the right click menu in Firefox. Now it doesnt work. 🤔

Dont know why…

EIDT 2: Now it works, but in Opera. 👌

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [December 14, 2019, 11:16am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/58 "2019-12-14T11:16:14Z")

</div>

I had to use Opera, in Opera it works ok. There is Tampermonkey for Opera too.

I actually use Opera for some time, and resigned from Firefox entirely, only used to check if it works because I had Tampermonkey with script installed there, and it didnt. Its worse for me than Opera honestly.

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 11:38am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/59 "2019-12-14T11:38:31Z")

</div>

Yeah, I have Win 10 with Firefox 71.0

Most of the scripts were working fine til last night. I was in-game and had my browser open but minimized to task bar and when I pulled it up, the browser flashed black and then came back with the scripts no longer working.

I’m just a user, not a programmer. So since you say it still works on Opera but no longer on Firefox, maybe it’s due to a recent update to Firefox?

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 4:21pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/60 "2019-12-14T16:21:26Z")

</div>

I downloaded Opera and most of the scripts are working. Still have the issue with the Forum Portal disappearing when accessing a different page in the forums, however refreshing the page displays it again.

Firefox must have implemented an update that killed TamperMonkey scripts. Anyway, thanks for looking into it and letting me know about Opera browser, guess that will be my Eve Browser now. Currently adding all Eve related sites to it.

🙂

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [December 14, 2019, 4:39pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/61 "2019-12-14T16:39:25Z")

</div>

I think Tampermonkey update on Firefox may repair it, but it will probably take some time for Tampermonkey creator.

[Previous page](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032.md?page=2)

[Next page](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032.md?page=4)
