Auto-Click Event Details Buttons

Automatically clicks "Collapse Description" and "Me" buttons on Event Details page. Source code and development: https://github.com/palharesf/user_scripts

作者
palharesf
日安装量
0
总安装量
0
评分
0 0 0
版本
1.1
创建于
2025-09-20
更新于
2025-09-20
大小
3.7 KB
许可证
MIT
适用于

Event Auto-Clicker Userscript

A simple userscript that automatically clicks the "Collapse Description" and "Me" buttons on PAGYWOSG event pages to speed up browsing experience.

Features

  • 🎯 Targeted clicking: Automatically finds and clicks specific buttons on event pages
  • ⏱️ Smart waiting: Uses polling to wait for dynamic content to load before attempting clicks
  • 📱 Visual feedback: Shows popup notifications indicating success or failure
  • 🔧 Console logging: Detailed logs for troubleshooting
  • 🚀 Auto-execution: Runs automatically when you visit compatible pages

Installation

Quick Install (Recommended)

Requirements

Alternative Install Methods

  1. From GitHub: Click pagywosg_button_clicker.user.js
  2. Manual Installation: Copy the code and paste into your userscript manager

Install Steps

  1. Install a userscript manager extension in your browser
  2. Click on the raw script file: pagywosg_button_clicker.user.js
  3. Your userscript manager should prompt you to install
  4. Click "Install" or "Confirm"

Manual Installation

  1. Copy the entire script code
  2. Open your userscript manager
  3. Click "Create new script" or "+"
  4. Replace the template with the copied code
  5. Save the script

How It Works

  1. Page Load: Script detects when you visit an event page
  2. Button Search: Polls every 500ms looking for the target buttons
  3. Auto-Click: Clicks both buttons as soon as they're found
  4. Feedback: Shows a popup notification with results
  5. Timeout: Stops trying after 10 seconds if buttons aren't found

Supported Sites

Troubleshooting

Script Not Working?

  1. Check Console: Open Developer Tools (F12) → Console tab
  2. Look for logs: Should see "🚀 Auto-Click Event Details Userscript loaded"
  3. Watch attempts: Should see "Attempt X/20: Looking for buttons..."

Buttons Not Found?

The script looks for these specific CSS selectors:

  • Collapse Button: .event-detail__btn-collapse
  • Me Button: .utable__link-me

If the site changes these selectors, the script will need updating.

Still Having Issues?

  1. Verify the userscript manager is enabled
  2. Check that the script is active for the current page
  3. Try refreshing the page
  4. Open an issue on GitHub with console logs

Version History

  • v1.1 (Current) - Added polling mechanism to wait for dynamic content loading
  • v1.0 - Initial release with basic click functionality

Contributing

Found a bug or want to improve the script?

  1. Fork this repository
  2. Make your changes
  3. Test thoroughly
  4. Submit a pull request

License

This project is provided under the MIT License. Please comply with it as you modify and distribute it.

Support

If you find this script useful, consider:

  • ⭐ Starring the repository
  • 🐛 Reporting bugs
  • 💡 Suggesting improvements

Disclaimer: This userscript is provided as-is. Use at your own discretion and ensure it complies with the target website's terms of service.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址