diff --git a/html/priv.ejs b/html/priv.ejs index 90cc649b..e826393c 100644 --- a/html/priv.ejs +++ b/html/priv.ejs @@ -1,757 +1,476 @@ - - - + - PokeTube | Customize - + Poke — Privacy Policy - - - - - - + + + + + + - - - - - - - - - -
- - -
-
-
-
Customize Poke
-
Personalize styles and behavior. Your edits are stored locally in your browser. Nothing is uploaded.
- -
- - - - -
- -
-   Local-only storage -   Auto-save -   Syntax highlight (no libs) -   Live preview -
+
- -
- <% if (!tab) { %> - Custom CSS - Custom JS - <% } else { %> - Custom CSS - Custom JS - <% } %> -
- - <% if (!tab) { %> - -
-
-
-
-
Custom CSS Editor
-
Saved to localStorage['poke-custom-css']
-
-
- - - - - - - -
-
- -
-
1
-

-            
-          
-
- -
-
-
-
Live Preview
-
Applies your CSS below (isolated box)
-
-
- -
-
-
-
-

Preview area — try something like:

- -
-
-
-
- <% } %> - - <% if (tab) { %> - -
-
-
-
-
Custom JS Editor
-
Saved to localStorage['poke-custom-script']
-
-
- - - - - - - -
-
- -
-
1
-

-            
-          
-
- -
-
-
Security Notice
-
Run only code you wrote or fully trust.
-
-
-
- -
- Your script executes on Poke pages via the site’s loader. If something breaks, use a private window or clear site storage to recover. -
-
-
-
-

Snippet ideas:

-
// Example: add a badge to nav
-document.addEventListener('DOMContentLoaded', () => {
-  const nav = document.querySelector('nav .right');
-  if (!nav) return;
-  const b = document.createElement('span');
-  b.textContent = 'Custom JS Active';
-  b.style.cssText = 'margin-left:8px;padding:4px 8px;border-radius:999px;background:#1a2a40;color:#a8dcff;font:600 11px/1 var(--sans)';
-  nav.appendChild(b);
-});
-
-
-
-
- <% } %> + +
-
+ - - - - - +