Google搜索结果弹出式窗口

Google搜索结果弹出式窗口

// ==UserScript==
// @name google popup window -write by lunji.com
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.google.com/*
// @grant none

(function() {
'use strict';

let aHref=document.getElementsByTagName("a");
for(let i=0;i<aHref.length;i++){
aHref[i].setAttribute("target","_blank");
}
})();