Google redirect

在新窗口打开Google搜索结果

  1. // ==UserScript==
  2. // @name Google redirect
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description 在新窗口打开Google搜索结果
  6. // @author dlutor
  7. // @match *://www.google.com/search*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. var search_div=document.getElementById('search').getElementsByClassName('MjjYud');
  14. for (var i=0,len=search_div.length;i<len;i++){
  15. search_div[i].getElementsByTagName('a')[0].target='_blank';
  16. }
  17. // Your code here...
  18. })();

QingJ © 2025

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