去除360极速扩展中心限制

让其他基于chromium的浏览器可以直接从360极速扩展中心下载扩展

  1. // ==UserScript==
  2. // @name 去除360极速扩展中心限制
  3. // @namespace undefined
  4. // @version 0.0.1
  5. // @description 让其他基于chromium的浏览器可以直接从360极速扩展中心下载扩展
  6. // @match http://ext.chrome.360.cn/*
  7. // @match https://ext.chrome.360.cn/*
  8. // @run-at body-start
  9. // @compatible chrome
  10. // @grant none
  11. // @license GPL v3
  12. // ==/UserScript==
  13.  
  14. Object.defineProperty(navigator,"userAgent",{value:"Mozilla/5.0 (Windows NT 6.1 AppleWebKit/535.19 KHTML, like Gecko) Chrome/48.0.1025.168 Safari/535.19 QIHU 360EE",writable:false,configurable:false,enumerable:true});
  15. document.getElementById('yellowtip').remove();