NoInstallAxureRP

去掉chrome浏览器打开Axure生成的原型文件自动跳转

  1. // ==UserScript==
  2. // @name NoInstallAxureRP
  3. // @namespace NoInstallAxureRP
  4. // @version 0.4
  5. // @description 去掉chrome浏览器打开Axure生成的原型文件自动跳转
  6. // @author _ihhu
  7. // @match file:///*
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. 'use strict';
  12. if(window.top!==window){
  13. return;
  14. }
  15. document.body.setAttribute("pluginDetected",true)
  16. // Your code here...
  17. })();