# \[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:** 3

<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 12, 2017, 6:48pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/41 "2017-07-12T18:48:46Z")

</div>

my guess is that edge doesnt support DOM oberservers

EDIT: according to caniuse, edge should support most stuff

what i am curious about, the card is missing even your discourse username which doesnt seem like a good idea imo

---

<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, 6:53pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/42 "2017-07-12T18:53:00Z")

</div>

As promised. Here are my result from a browser test.

> Winver: 1703 build 15063.483

Microsoft Edge 40.15063.0.0  
Microsoft EdgeHTML 15.15063  
Tampermonkey v4.3.5443

> Not working.

Google Crome Version 59.0.3071.115 (Officiel version) (64-bit)  
Tampermonkey v4.3.6

> Working

Firefox Nightly 56.0a1 (2017-07-12) (32-bit)  
Tampermonkey v4.3.5447

> Working

---

<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, 7:12pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/43 "2017-07-12T19:12:54Z")

</div>

> [@Vincent\_Eneticum](#):
>
> what i am curious about, the card is missing even your discourse username which doesnt seem like a good idea imo

That’s from @Erika_Mizune script here:  
[EVE Online Forums](https://meta.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/2)

Had to remove a few lines.

---

<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, 7:21pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/44 "2017-07-12T19:21:05Z")

</div>

Yea the hidden username is part of my script. That wouldn’t effect anything tho.

---

<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 12, 2017, 7:21pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/45 "2017-07-12T19:21:54Z")

</div>

my goddamn laptop wont install tampermonkey in edge -.-

---

<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, 7:29pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/46 "2017-07-12T19:29:47Z")

</div>

> [@Vincent\_Eneticum](#):
>
> my guess is that edge doesnt support DOM oberservers

is this it?  
[https://developer.microsoft.com/en-us/microsoft-edge/platform/status/intersectionobserver/](https://developer.microsoft.com/en-us/microsoft-edge/platform/status/intersectionobserver/)

---

<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 12, 2017, 7:32pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/47 "2017-07-12T19:32:38Z")

</div>

no this  
[https://developer.microsoft.com/en-us/microsoft-edge/platform/status/mutationobservers/](https://developer.microsoft.com/en-us/microsoft-edge/platform/status/mutationobservers/)

idk what the issue is but i still cant install tampermonkey so has to wait a bit

---

<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 12, 2017, 8:59pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/48 "2017-07-12T20:59:36Z")

</div>

ok so it works for me in edge on win 10, sorry, idk what the issue is…

 ![image](https://global.discourse-cdn.com/eveonline/original/2X/f/f839bcefd41e622644dfadcad9b5d5c46046babb.jpg)

---

<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, 9:39pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/49 "2017-07-12T21:39:43Z")

</div>

I’d assume maybe another installed addon conflicting with it then. That’s always a possibility.

Some basic troubleshooting: disable all addons except tampermonkey, see if works, if it works then turn back on other addons one by one.

---

<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, 10:20pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/50 "2017-07-12T22:20:13Z")

</div>

> [@Erika\_Mizune](#):
>
> I’d assume maybe another installed addon conflicting with it then. That’s always a possibility.
> 
> Some basic troubleshooting: disable all addons except tampermonkey, see if works, if it works then turn back on other addons one by one

Already tried that. Tried disabling my host file. Looked for something I might have disabled in start.  
Right now I’m looking into Tampermonkeys settings but…

@Vincent_Eneticum could get it to work in Edge so lets just say; that’s it and call it a day.  
I will, when I find the course of my miss fortune, give you an update.

---

<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, 10:42pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/51 "2017-07-12T22:42:11Z")

</div>

Hope you get it worked out! Would love to hear results when you do.

---

<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:** [August 8, 2017, 10:08am UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/52 "2017-08-08T10:08:23Z")

</div>

sorry guys, i fixed the meta url to use the new forums

---

<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 9, 2017, 11:40pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/53 "2017-08-09T23:40:16Z")

</div>

@Vincent_Eneticum Excellent script, works really nice. Thank you! \o/

---

<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:** [August 10, 2017, 2:13pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/54 "2017-08-10T14:13:44Z")

</div>

always a pleasure 🙂

---

<div class="post-metadata">

**Author:** ![Rivr\_Luzade](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rivr_luzade/32/311061_2.png) [@Rivr\_Luzade](https://forums.eveonline.com/u/Rivr_Luzade)\
**Post date:** [December 20, 2017, 12:39pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/55 "2017-12-20T12:39:13Z")

</div>

Am I the only one who since today’s dt only receives “undefined” for the corporation and alliance line in the short char bio when I click on a char?

![Forum_CorpAllainceTagScript_NotWorking_Undefined](https://global.discourse-cdn.com/eveonline/original/3X/e/c/ec2be34a605fcd1c8af1f7203d3ca0a8eb5ce6ef.png)

---

<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:** [December 20, 2017, 12:42pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/56 "2017-12-20T12:42:07Z")

</div>

nope, looking into it

---

<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:** [December 20, 2017, 12:57pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/57 "2017-12-20T12:57:52Z")

</div>

fixed it 🙂 might have to manually trigger the update in tampermonkey but should be there at least after the next restart 😉

---

<div class="post-metadata">

**Author:** ![Rivr\_Luzade](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rivr_luzade/32/311061_2.png) [@Rivr\_Luzade](https://forums.eveonline.com/u/Rivr_Luzade)\
**Post date:** [December 20, 2017, 1:03pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/58 "2017-12-20T13:03:35Z")

</div>

Works, thanks. What was wrong with it?

---

<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:** [December 20, 2017, 1:19pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/59 "2017-12-20T13:19:47Z")

</div>

the api finally changed the fields (corporation/alliance/character)\_name to just name and the script is automatically using the latest version of the api so the old field couldnt be found 🙂

---

<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 5, 2018, 12:20pm UTC](https://forums.eveonline.com/t/js-userscript-show-corporation-alliance/5139/60 "2018-04-05T12:20:56Z")

</div>

I am woundering if that script would work also when inserted into the theme directly?  
At least I tried it on my own Discourse but I don´t get any result on Firefox, in Chrome just the link beside the Name which also is set wrong.  
Are there any changes to be made when this script would be inserted into the themes header?

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

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