# Ensure admin isn't messed up by customizations

**URL:** https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747
**Category:** Feature
**Created:** [25 Setembro , 2015 13:56 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747 "2015-09-25T13:56:19Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [25 Setembro , 2015 13:56 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/1 "2015-09-25T13:56:19Z")

</div>

Continuing the discussion from [Admin panel not working after including buggy js in head/](https://meta.discourse.org/t/admin-panel-not-working-after-including-buggy-js-in-head/33746):

> [@Admin panel not working after including buggy js in head/](https://meta.discourse.org/t/admin-panel-not-working-after-including-buggy-js-in-head/33746/1):
>
> The above was added in the head/ section and not only it didnt work but now I cannot edit the head/ again or rather save it or complete any actions in the backend admin panel.

Would it be worth it to permanently exempt the admin section from _any_ customizations?

---

<div class="post-metadata">

### Author: ![Michael\_Katrantzis](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Michael\_Katrantzis](https://meta.discourse.org/u/Michael_Katrantzis)
#### Post date: [25 Setembro , 2015 13:59 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/2 "2015-09-25T13:59:43Z")

</div>

Yes probably…although it would be nice if its not done permanently and could include it back if necessary.

---

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [25 Setembro , 2015 14:03 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/3 "2015-09-25T14:03:25Z")

</div>

If you go [http://discuss.example.com/admin](http://discuss.example.com/admin) manually (as opposed to through the menu) customizations are disabled.

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [25 Setembro , 2015 14:06 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/4 "2015-09-25T14:06:34Z")

</div>

I don’t think it does…

---

<div class="post-metadata">

### Author: ![Michael\_Katrantzis](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Michael\_Katrantzis](https://meta.discourse.org/u/Michael_Katrantzis)
#### Post date: [25 Setembro , 2015 14:08 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/5 "2015-09-25T14:08:10Z")

</div>

It does but I would have to go to admin/customize/css\_html/2/head-tag edit and then save. Which still doesnt work

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [25 Setembro , 2015 14:10 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/6 "2015-09-25T14:10:46Z")

</div>

If I add some test tags to the `</head>` customization, those are certainly present when loading `/admin` directly as well.

---

<div class="post-metadata">

### Author: ![Michael\_Katrantzis](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Michael\_Katrantzis](https://meta.discourse.org/u/Michael_Katrantzis)
#### Post date: [25 Setembro , 2015 14:12 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/7 "2015-09-25T14:12:35Z")

</div>

Ah sorry you’re right head/ is present. All other customization (CSS and html) isnt.

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [25 Setembro , 2015 14:13 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/8 "2015-09-25T14:13:02Z")

</div>

Ah. Just my test then. 🙂 That’s a weird special case? And why the difference depending on how it loads? Hidden referrer checking for … the win…?

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [25 Setembro , 2015 14:19 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/9 "2015-09-25T14:19:15Z")

</div>

Ah, this is a duplicate.

> [@CSS admin-contents reloaded](https://meta.discourse.org/t/css-admin-contents-reloaded/25480):
>
> Continuing the discussion from [CSS Clearfix for admin-contents](https://meta.discourse.org/t/css-clearfix-for-admin-contents/25424/9): I appreciate the idea, but (risking to sound nit-picky) dislike the result for my site: if you have HTML additions which rely on styles which now become automatically disabled, you end up with garbled admin pages - could this become an optional setting (I wouldn’t mind if it defaulted to “off” for the discussed security reasons)? The alternative looks a bit appalling to me, to put all the styles for the HTML customizations as inli…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [25 Setembro , 2015 18:43 UTC](https://meta.discourse.org/t/ensure-admin-isnt-messed-up-by-customizations/33747/10 "2015-09-25T18:43:25Z")

</div>


