您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This scripts that returns the old github dahsboard to your home page.
当前为
- // ==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);
- })();