YouTube NO ADS

Generates player profile clicklist

目前为 2025-02-14 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name YouTube NO ADS
  3. // @namespace Violentmonkey Scripts
  4. // @match https://pokeheroes.com/userprofile*
  5. // @grant none
  6. // @version 1.0.0
  7. // @author -
  8. // @description Generates player profile clicklist
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function(){
  13. 'use strict'
  14.  
  15. let list = "https://pokeheroes.com/pokemon_lite?cl_type=custom&"
  16. // id[]= {ID} &
  17.  
  18. $('a[href^="pokemon.php?id="]').each((index, data) => {
  19. data = /\d+/.exec(data.href)
  20. list += `id[]=${data}&`
  21. })
  22.  
  23. $('h2:contains("Party")').parent().prepend(`<center><a href="${list}">Clicklist Link</a></center>`)
  24. })()