Greasy Fork

Greasy Fork is available in English.

hltv.watchparty.layout

Clean up HLTV match pages, drag important parts, and apply a background gradient

作者
2K LEX
日安装量
0
总安装量
1
评分
0 0 0
版本
2.0
创建于
2025-07-15
更新于
2025-07-15
大小
11.8 KB
许可证
暂无
适用于

🧠 HLTV Watchparty Layout Customizer (by 2klex)

A powerful Tampermonkey script that transforms HLTV.org match pages into clean, customizable watchparty layouts.


🚀 Features

  • Declutter Match Pages
    Removes all non-essential elements (ads, sidebars, betting, extras) for a focused experience.

  • 🎨 Gradient Background
    Adds a stylish background gradient that enhances readability and appearance.

  • 🧱 Draggable UI Blocks
    Key content like scoreboards, lineups, maps, and stats are wrapped in draggable boxes. You can arrange your view exactly how you like.

  • 💾 Position Saving
    Your custom layout is automatically saved to your browser and restored every time you visit a match page.

  • 📦 Preset Layout Loader
    Easily embed predefined layouts directly into the script.


🛠️ Installation (Tampermonkey)

1. Install Tampermonkey

If you don't already have it:

2. Install the Script

  • Open this script file in your browser as a raw .user.js file (host it via GitHub or Pastebin with raw output).
  • Tampermonkey will prompt you to install.
  • Click "Install".

3. Visit Any HLTV Match Page

Go to hltv.org/matches, click any match. The custom layout will load and apply automatically.


🧪 Example Match

Try it here:


💡 Customize Further

Want to update or extend it?

  • Add or remove selectors in:
    • selectorsToRemove: things to hide
    • selectorsToWrap: things to make draggable
  • Export and re-import your layout using browser console and localStorage.

📤 Exporting & Sharing Layouts

Want to share your layout with others?

  1. Open DevTools (F12)
  2. Run: ```js Object.fromEntries(Object.entries(localStorage).filter(([k]) => k.startsWith("wrap-pos-")))