Old github dashboard Script 253583

This scripts that returns the old github dahsboard to your home page.

目前为 2023-09-15 提交的版本。查看 最新版本

// ==UserScript==
// @name         Old github dashboard Script 253583
// @namespace    renanborgez
// @author       renanborgez
// @version      1.1
// @match        https://github.com/
// @match        https://github.com/dashboard-feed
// @description This scripts that returns the old github dahsboard to your home page.
// ==/UserScript==

(function() {
  'use strict';
  
  fetch('https://github.com/dashboard-feed').then(response => response.text()).then(data => {
  	const parser = new DOMParser();
    const doc = parser.parseFromString(data, 'text/html');
    const olddashelement = doc.getElementsByTagName('main')[0]

    document.getElementById('dashboard').innerHTML = olddashelement.innerHTML;
  }).catch(console.log);
})();

QingJ © 2025

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