# \[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:** 13\
**Page:** 4

<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:** [April 10, 2018, 10:07am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/61 "2018-04-10T10:07:58Z")

</div>

any errors? it surely can be used in the theme, i think the issue might be when its loaded

---

<div class="post-metadata">

**Author:** ![Kara\_Delios](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kara_delios/32/55058_2.png) [@Kara\_Delios](https://forums.eveonline.com/u/Kara_Delios)\
**Post date:** [April 10, 2018, 12:24pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/62 "2018-04-10T12:24:34Z")

</div>

Console is only telling:

> TypeError: Argument 1 of MutationObserver.observe is not an object.

Unfortunately I have only basic knowledge of all that programming stuff ☹

---

<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:** [April 11, 2018, 9:32am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/63 "2018-04-11T09:32:48Z")

</div>

try  
document.addEventListener(“DOMContentLoaded”  
instead of  
window.addEventListener(“load”

---

<div class="post-metadata">

**Author:** ![Kara\_Delios](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kara_delios/32/55058_2.png) [@Kara\_Delios](https://forums.eveonline.com/u/Kara_Delios)\
**Post date:** [April 11, 2018, 11:53am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/64 "2018-04-11T11:53:34Z")

</div>

Nope, that does not do anything, that error messege stays the same, the rest no work either.  
But I have seen some interesting:

1. The original script does work in Chrome, but only on one User correct, on others only the EveWho Link beside the Name
2. On Admin Chars not even the EveWho Link works, as they get in Link: User\_Name is an admin
3. On Firefox not even one thing is showing up

Strange stuff 😃

If you like, you can have a look at it on [https://forums.99spaces.com/](https://forums.99spaces.com/) and register, I am using Alliance Auth with open Discourse service for everyone. The script is running on original Version with dark standard theme.  
The Forum is in building, so please don´t expect much content 🙂

---

<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:** [April 23, 2018, 11:01am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/65 "2018-04-23T11:01:53Z")

</div>

your users are not using their ingame names eh?

---

<div class="post-metadata">

**Author:** ![Kara\_Delios](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kara_delios/32/55058_2.png) [@Kara\_Delios](https://forums.eveonline.com/u/Kara_Delios)\
**Post date:** [April 23, 2018, 11:37am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/66 "2018-04-23T11:37:53Z")

</div>

Ah, I think you point me right. They have the inGame Names, but, when having 2 Names, they get that underline in between \_ , so thats why only that one char was working, at he has just one name 🙂  
So when changing the name without \_ I get at least the evewho-link, but not the corp and alliance details.

---

<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:** [April 28, 2018, 4:31pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/67 "2018-04-28T16:31:37Z")

</div>

i updated the script since it broke bc of discourse changing sommething, the new version should work now, still requires the real name and not with spaces replaced by underscores

---

<div class="post-metadata">

**Author:** ![Dyver\_Phycad](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dyver_phycad/32/358575_2.png) [@Dyver\_Phycad](https://forums.eveonline.com/u/Dyver_Phycad)\
**Post date:** [April 30, 2018, 3:50pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/68 "2018-04-30T15:50:25Z")

</div>

Yes, works again. Thank you for again fixing first party deficiencies.

---

<div class="post-metadata">

**Author:** ![Dyver\_Phycad](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dyver_phycad/32/358575_2.png) [@Dyver\_Phycad](https://forums.eveonline.com/u/Dyver_Phycad)\
**Post date:** [May 7, 2018, 12:23pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/69 "2018-05-07T12:23:26Z")

</div>

And it is stalling yet again.

---

<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:** [May 7, 2018, 2:56pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/70 "2018-05-07T14:56:49Z")

</div>

it works for me…?

---

<div class="post-metadata">

**Author:** ![Dyver\_Phycad](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dyver_phycad/32/358575_2.png) [@Dyver\_Phycad](https://forums.eveonline.com/u/Dyver_Phycad)\
**Post date:** [May 7, 2018, 3:01pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/71 "2018-05-07T15:01:18Z")

</div>

I reinstalled it several times this morning and in the 2 days and left the tooltip open for several minutes but the corp/alliance info does not load.

Now I closed the forum tab completely, reopened it and it seems to work again.

---

<div class="post-metadata">

**Author:** ![Dyver\_Phycad](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dyver_phycad/32/358575_2.png) [@Dyver\_Phycad](https://forums.eveonline.com/u/Dyver_Phycad)\
**Post date:** [January 18, 2019, 4:29pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/72 "2019-01-18T16:29:15Z")

</div>

This script is again not working. Regardless of how often I completely close the tab, which triggered some reloading feature in the past, the corporation and alliance info does not appear in the tool tip any more.

---

<div class="post-metadata">

**Author:** ![Dyver\_Phycad](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dyver_phycad/32/358575_2.png) [@Dyver\_Phycad](https://forums.eveonline.com/u/Dyver_Phycad)\
**Post date:** [April 30, 2019, 6:07pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/73 "2019-04-30T18:07:28Z")

</div>

This script again stopped working. Please fix it if possible because CCP is still to incompetent to provide this information themselves.

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