GrreasyFork Visualización de datos de script publicados por el usuario

usarChart.jsObtención y visualización de datos de script de usuario,Y genere un gráfico en la página de inicio personal del usuario para mostrar el estado de instalación detallado a continuación.

Versión del día 19/9/2024. Echa un vistazo a la versión más reciente.

Autor
人民的勤务员
Calificaciones
0 0 0
Versión
1.1.1.0
Creado
18/9/2024
Actualizado
19/9/2024
Tamaño
26,8 KB
Compatibilidad
Compatible con Firefox Compatible con Chrome Compatible con Opera Compatible con Safari Compatible con Edge
Licencia
MIT
Funciona en

GrreasyFork 用户发布的脚本数据可视化

「 使用Chart.js获取和可视化获取用户脚本数据,并在用户个人主页生成一个图表在下方显示详细安装情况 」

Views

Download:Github | ⭐Greasy Fork

更新记录

🛠️ GrreasyFork 用户脚本数据可视化 更新日志

📅 2024-09-19 12:56:19- Ver 1.1.1.0

修改: •修改chart.js为首次加载,加载完成后保存在localStorage无需每次重复加载


📅 2024-09-19 08:25:19- Ver 1.1.0.0

修复: • 修复图表一些问题

修改前 修改后
修改前.png 修改后.png
修改前.gif 修改后.gif

📅 2024-09-18 11:01:32- Ver 1.0.0.0

增加: •增加了原作者138 Aspen另外脚本Displays the number of scripts published by the user, the total number of installations里面的从当前网页获取用户数据,可以在脚本内或者脚本菜单中设置从JSON数据获取还是从当前页面获取脚本数据默认向GreasyFrok下载用户数据
修改: •~~修改chart.js为@require 加载,无需每次重复加载~~Greasyfork不允许使用未经批准的外部脚本
修改: •修改从网络获取用户数据时,按照总安装量由高到低排序
修改: •修改寻找用户ID的表达式为/(\d+)/,兼容Greasyfork 糊裱匠清除链接无用字符功能


GrreasyFork User script data visualization

describe

This userscript uses Chart.js Ku Cong GreasyFork Extract and visualize script data from user script pages on。It provides the following functions:

  • Data extraction: Extract install count data from user’s script page,Includes total installs and daily installs。
  • data visualization: Use charts(Bar chart)Shows total installs and daily installs for each script。
  • Data display: Shows total installs below the graph、Total daily installs and number of published scripts。

Function

  1. Get user data: Extract relevant data from user script page。
  2. data visualization: use Chart.js Draw a chart to display the script’s installation data。
  3. display statistics: Shows total daily installs below the chart、Total installs and number of published scripts。

Install

  1. Install Greasemonkey or Tampermonkey plug-in: Please make sure your browser has it installed Greasemonkey or Tampermonkey plug-in。
  2. Add script:
    • Click the green install button above to install

use

  1. access GreasyFork User script page: Open any user’s script page,For example https://greatest.deepsurf.us/users/1169082
  2. View charts and statistics: The script will automatically generate and display data charts and statistics after the user’s personal page is loaded.。
  3. Load from the network or from the current page: The script provides a setting at the top of the code,whenfortruehour,Get from current web page,forfalse,TowardsGreasyFrokDownload user dataJSON

support

If you encounter problems or need support,Please visit GitHub Question page Submit a question。

contribute

This script is modified from138 Aspenpublished scriptGrreasyFork User Script Data Visualization Modification instructions:
Increase: •Added original author138 Aspenadditional scriptDisplays the number of scripts published by the user, the total number of installationsInside, get user data from the current web page,It can be set within the script or in the script menu.JSONData acquisition or script data acquisition from the current page
Revise: •Revisechart.jsfor@require load,No need to reload every timeGreasyforkUnapproved external scripts are not allowed.....
Revise: •When modifying user data obtained from the network,Sort by total installs from high to low
Revise: •Modify search for usersIDThe expression of/(\d+)/,compatibleGreasyfork Glue craftsmanClear link useless characters function

Contributions and improvements to the script are welcome!Please visit GitHub storehouse Submit a pull request or report an issue。

Authorize

The script follows MIT license。For more information,Please check LICENSE document。

Fixed daily installation statistics on the right,Switch overall installation/Chart axis display problem during daily installation

Before modification After modification
Before modification.png After modification.png
Before modification.gif After modification.gif

.ng

🔍你可能在找GreasyFork相关脚本

使用帮助

推荐浏览器和脚本管理器:

  • Greasemonkey + Waterfox
  • Tampermonkey/Violentmonkey + Firefox
  • Tampermonkey/Violentmonkey + Chrome
  • Userscripts + ios Safari
  • Violentmonkey/KiWiBrowser + Android

如果你需要了解更多关于如何安装用户脚本,点击我查看图文教学!

更多用户脚本 / 回到顶部↑