您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
open search results in new tab.
当前为
// ==UserScript== // @name Github search open in new tab // @namespace bethropolis.github // @match https://github.com/search?* // @version 1.0 // @homepage https://greatest.deepsurf.us/en/scripts/425294-github-search-open-in-new-tab // @description open search results in new tab. // @license MIT // @copyright 2021, Jav_bethro (https://github.com/bethropolis) // ==/UserScript== (function () { 'use strict'; let a = document.querySelectorAll(".repo-list") a.forEach(function (ca) { ca.querySelector('a').setAttribute('target', '_blank') }) // Your code here... })();