Closed zenjabba closed 6 years ago
Plex News? Do you have a screenshot of the before and after of what this does? I've never seen it before.
https://www.reddit.com/r/PleX/comments/73ord0/remove_plex_news_with_nginx_reverse_proxy/ https://www.reddit.com/r/PleX/comments/73ord0/remove_plex_news_with_nginx_reverse_proxy/
On 2 Oct 2017, at 5:49 pm, Too Much IO notifications@github.com wrote:
Plex News? Do you have a screenshot of the before and after of what this does? I've never seen it before.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toomuchio/plex-nginx-reverseproxy/pull/28#issuecomment-333675282, or mute the thread https://github.com/notifications/unsubscribe-auth/AApfuLlDuM0UeWbAAGD_tzH4duMNMeJmks5soVpfgaJpZM4Pq77S.
Merged very cool hack I was using something similar very early on to try and display messages to people but didn't work out well.
Might be work investigating manipulation of the xml to display alerts to users, creating fake librarys or menu options perhaps to alert people of changes to your Plex server.
This is nice :) I have added this to my config:
location / {
sub_filter '</body>' '<script src="/my.js"></script></body>';
sub_filter_once on;
}
Now when the web interface loads it also loads my /my.js
file, in which I can do some nice and/or funny things. For example set/change some of Plex Web's preferences:
(function() {
if (typeof(Storage) !== "undefined") {
var experience = {"timeFormat": "HH:mm", "remoteQuality": "-1"};
localStorage.setItem("experience", JSON.stringify(experience));
}
})();
Note: This only works if people visit my PMS through my own domain, not through plex.tv
Given people are not comfortable with Plex News, this can disable it on your end clients without any modifications to the clients. (v1.9.2 PlexServer)