# \[JS\] UserScript - Show Corporation / Alliance

**URL:** <https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139>\
**Category:** Third Party Developers\
**Tags:** forum-improvement\
**Created:** [June 21, 2017, 6:53pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139 "2017-06-21T18:53:20Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 26, 2017, 6:28pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/21 "2017-06-26T18:28:22Z")

</div>

i updated the initial post to now use github for updates to the script

i will leave the links in for now and will soon switch them over to my own website utils.space which will have eve gate / eve who like functionality to show that information 🙂

once i do that, i will also add no-rel tags to the links so tracking is disabled then

---

<div class="post-metadata">

**Author:** ![Drizzd](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/drizzd/32/17704_2.png) [@Drizzd](https://forums.eveonline.com/u/Drizzd)\
**Post date:** [June 26, 2017, 6:32pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/22 "2017-06-26T18:32:59Z")

</div>

is it possible to give the corp-name a bit more space ? My corpname gets displayed except the trailing number … which gets “abbreviated” by 3 points that are longer than 02 - or at least the same size

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 26, 2017, 6:34pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/23 "2017-06-26T18:34:49Z")

</div>

this would make the whole popup wider and i fear this would break the layout 😕

i could drop the Corporation/Alliance: at the start of the line but that wouldnt help understanding that either, although old forums didnt have that so might as well try this

---

<div class="post-metadata">

**Author:** ![Drizzd](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/drizzd/32/17704_2.png) [@Drizzd](https://forums.eveonline.com/u/Drizzd)\
**Post date:** [June 26, 2017, 6:37pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/24 "2017-06-26T18:37:22Z")

</div>

I must admit I didnt use my browser’s tools to analyze the popup … but there is a whole lot of space (1/5th of the entire width ) unused … below the [x posts] thing at the right side … there would be enough space to complete most corp names …

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 26, 2017, 6:40pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/25 "2017-06-26T18:40:08Z")

</div>

its only unused depending on the topic you are in, if you are the owner of the topic the space is used 😃

---

<div class="post-metadata">

**Author:** ![Drizzd](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/drizzd/32/17704_2.png) [@Drizzd](https://forums.eveonline.com/u/Drizzd)\
**Post date:** [June 26, 2017, 6:44pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/26 "2017-06-26T18:44:44Z")

</div>

Hm … I now took a look using firebug -and I see its a h2 element - which could be broader …

and I dont detect any difference whether I’m only answering - or am the creator of the thread … there is unused space below that [x posts] box … and the h2 gets cut without any reason

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 26, 2017, 6:47pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/27 "2017-06-26T18:47:07Z")

</div>

i just updated the script to remove the Corporation/Alliance prefix and made it itallic like the old forums, the title (tooltip) now includes the prefix  
i also added the noreferrer tag

![image](https://global.discourse-cdn.com/eveonline/original/2X/0/0d7967710957af3e6ab044f178f4aa54bd3b1033.png)

---

<div class="post-metadata">

**Author:** ![TheSmokingHertog](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/thesmokinghertog/32/144079_2.png) [@TheSmokingHertog](https://forums.eveonline.com/u/TheSmokingHertog)\
**Post date:** [June 27, 2017, 6:42am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/28 "2017-06-27T06:42:21Z")

</div>

As someone who used forum gold this is awesome, that script also added a zkillboard link that was usefull. Idea?

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 27, 2017, 11:19am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/29 "2017-06-27T11:19:24Z")

</div>

as described earlier, i will change the links to a different website at some point which will also supply killmail information 🙂

i dont want to bloat the user card at the moment with too many lines and links 😉

---

<div class="post-metadata">

**Author:** ![Che\_Biko](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/che_biko/32/519874_2.png) [@Che\_Biko](https://forums.eveonline.com/u/Che_Biko)\
**Post date:** [June 29, 2017, 12:19pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/30 "2017-06-29T12:19:33Z")

</div>

Is this supposed to work in the Firefox scratchpad? And if so, can I get a newbie walkthrough how to make it work there, please?

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [June 29, 2017, 1:41pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/31 "2017-06-29T13:41:08Z")

</div>

nope this requires a browser plugin which enables userscripts 🙂

i added a list of suggested plugins to the initial post, install either tamper or grease monkey for ff and then clicking the installation link should do the rest 🙂

---

<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:** [July 10, 2017, 9:37pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/32 "2017-07-10T21:37:21Z")

</div>

I been using this and really like this. Works wonderfully.

I wrote a [simple edit](https://meta.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032) to the avatars on posts, but also specifically edited how the avatar looks on the user cards as well just because it looks so much nicer as a square vs circle when aligned with the name, and corp/alliance text. 😊

Thanks!

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [July 10, 2017, 11:09pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/33 "2017-07-10T23:09:59Z")

</div>

i was thinking of adding that functionality but also wanted to keep the option to toggle but havent come up with a settings panel or such…  
also, @CCP_Avalon might integrate the entity information into the forum itself at some point in the near future so this script becomes obsolete 🙂

---

<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:** [July 10, 2017, 11:15pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/34 "2017-07-10T23:15:12Z")

</div>

From what he said in one of the other threads is that evegate and that info won’t be integrated into the forums ☹

---

<div class="post-metadata">

**Author:** ![bbb2020](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/bbb2020/32/498035_2.png) [@bbb2020](https://forums.eveonline.com/u/bbb2020)\
**Post date:** [July 11, 2017, 9:24pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/35 "2017-07-11T21:24:15Z")

</div>

Have downloaded you script and try to run it via Tampermonkey for Edge.  
It just doesn’t work.

It does say something about the user account might be needed:  
 ![image](https://global.discourse-cdn.com/eveonline/original/2X/d/d60600322149f95699e77e9f20a6be0d19b72494.png)  
If I do a F12, all I get is a warning about a HTTP404: Not found: (XHR)GET - [https://sea1.discourse-cdn.com/eveonline/stylesheets/categoy\_background.scss](https://sea1.discourse-cdn.com/eveonline/stylesheets/categoy_background.scss)

 ![image](https://global.discourse-cdn.com/eveonline/original/2X/1/150393dd2b2edad0b2bc52ed6f4e5110ced32628.png)  
(Its a Danish machine but…)

 ![image](https://global.discourse-cdn.com/eveonline/original/2X/f/f8e880fde12f364e7480ee68704176959b252f50.png)  
Hope you can use it for something.

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [July 11, 2017, 9:25pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/36 "2017-07-11T21:25:45Z")

</div>

1. this is not my userscript, mine does not modify the portrait
2. i dont have a windows at hand to test with edge atm, might test soon though

---

<div class="post-metadata">

**Author:** ![Vincent\_Eneticum](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vincent_eneticum/32/14527_2.png) [@Vincent\_Eneticum](https://forums.eveonline.com/u/Vincent_Eneticum)\
**Post date:** [July 11, 2017, 9:26pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/37 "2017-07-11T21:26:52Z")

</div>

i worked closely with him on this and he even modified the forums css for my userscript to work better, its definitely not a go but possible, until then, my script will provide this service 🙂

---

<div class="post-metadata">

**Author:** ![bbb2020](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/bbb2020/32/498035_2.png) [@bbb2020](https://forums.eveonline.com/u/bbb2020)\
**Post date:** [July 11, 2017, 9:35pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/38 "2017-07-11T21:35:28Z")

</div>

> [@Vincent\_Eneticum](#):
>
> 1. this is not my userscript, mine does not modify the portrait
> 2. i dont have a windows at hand to test with edge atm, might test soon though

I know the portrait thing is from @Erika_Mizune but even if I disable her /(his) script, I still cant get your script to show any info and the warning (first pic) is for your script. Just don’t know what to look for to find it.

Hope you get the time to look at it, as is greatly needed 😟

---

<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:** [July 12, 2017, 12:07am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/39 "2017-07-12T00:07:16Z")

</div>

That’s nice to hear 😌 I love having a way to see corp/alliance info on here.

And @bbb2020 That error you posted is reference a CSS file that is not there for some reason (ie: click on the link and you get a error page where if it was there you’d see the stylesheet), so not sure on that one other than it’s not my script. As for the Edge, I do know that edge handles certain scripts differently though; this is only because I had a past client I was working with who would point issues on edge that weren’t happening in any other browser (didn’t have windows 10 at the time so I wasn’t seeing at all what he was seeing). Perhaps not what you want to do, but have you tried to see if it works in firefox or chrome? 😟

---

<div class="post-metadata">

**Author:** ![bbb2020](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/bbb2020/32/498035_2.png) [@bbb2020](https://forums.eveonline.com/u/bbb2020)\
**Post date:** [July 12, 2017, 5:44am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/40 "2017-07-12T05:44:32Z")

</div>

> [@Erika\_Mizune](#):
>
> Perhaps not what you want to do, but have you tried to see if it works in firefox or chrome? 😟

No. But I will when I get home.  
Just use edge as my daily browser, as it intergrade perfect with my phone 📱 😄

[Previous page](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139.md?page=1)

[Next page](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139.md?page=3)
