WebUI Tweaks OLD
Problem this snippet solves:
This codeshare has been deprecated. Moved to https://devcentral.f5.com/s/articles/WebUI-Tweaks
How to use this snippet:
This codeshare has been deprecated. Moved to https://devcentral.f5.com/s/articles/WebUI-TweaksCode :
89433
Tested this on version:
13.0Thanks Dan, much appreciated! I'm adding a feature that Tom requested now. Will update with that feature and a v13 beta tomorrow.
/Patrik
- Version 2.0.7 Added partition filter at the top right corner
- Simply write to filter the partition drop down menu.
- Hitting enter while in the filter box activates the currently selected option.
- Any filter entered is saved and re-entered upon partition change. So if you have a prefix in your partitions and only want to use with ie. partitions named "Bank-Backend", "Bank-Frontend" and "Bank-CDE" you can simply enter "Bank-".
Thanks to Tom for suggesting it.
I think most of the features should work on v13 too but I have had no time to test them. If you're willing to help here I'd be very grateful. To activate, scroll down to the bottom of the setting section and change allow13 = false; to allow13 = true;.
The previous implementation was a completely separate edition of the script. Which meant that if you wanted to enable it you'd have to switch the code and when you finally had enough snow you'd have to switch again. Annoying.
Instead, now a form would show up automatically in December where you can choose to activate or deactivate the Christmas theme.
Don't you worry, you can totally supress the theme by changing var allowChristmas = true; to var allowChristmas = false;. Can't promise Santa will bring you any presents if you do though.
A bit of an easter egg. If you set var alwaysChristmas = true; in the settings section you can enjoy the theme all year long. :)
- tomekNimbostratus
Hi Last week I tested script in F5 version 13. I didn't see any issues. Work perffectly. I thank you very much especially for partition search.
Regards Tom
No problem, thanks for reporting in regarding the v13 things too. How about you Dan? Any news?
/Patrik
- Dan_BowmanCirrus
Unfortunately I'm currently having a little fight with our company security guys over being able to install tampermonkey! Should hopefully be resolved soon!
The joys of working in a corporate environment... :o/
I can understand where they're coming from. But it's not like the code is obfuscated or automatically updated. However, Tampermonkey might be. Go sway them with some whiskey or, if that won't work perhaps a neck rub. Perhaps that'll scare them away. :)
/Patrik
- atatps_250754Altocumulus
I've got a possible bug to report. I observed this in the previous version as well as after upgrading to 2.0.7. With the script simply enabled in my browser (Firefox), the WebUI will eventually crash and restart. Because of this I only run the script on the Standby node then sync the changes to the Active node to prevent any potential outages in prod.
This seems like a bad one. Never seen it myself and we are a whole bunch of people using the script at my previous work place.
I wonder, is your configuration very large, or the specs very low? Are you often using the Read Only partition?
The only part of the script that I can think of of the top of my head that could affect the UI is the pool status. Let me create a custom version for you removing the heavy parts.
If it makes you feel better until then I can also tell you that it's safe to restart the webui process as it's separates from tmm.
Get back to you.
/Patrik
- atatps_250754Altocumulus
I'm not sure what constitutes large in the industry but my config contains north of 7000 objects. Specs seem to be fine as I haven't experienced any other performance issues.
Let's say a pool has 2 members, that would count as 3 items. A pool with 4 members counts as 5.
In that case, roughly how many do you have?
/Patrik