提交 a026e77e 编写于 作者: A acgotaku

add crx

上级 0f3306f3
if (typeof browser !== 'undefined') {
chrome = browser
if (typeof window.browser !== 'undefined') {
window.chrome = window.browser
}
const httpSend = ({url, options}, resolve, reject) => {
......
此差异已折叠。
此差异已折叠。
!function(){return function e(r,t,n){function o(a,d){if(!t[a]){if(!r[a]){var u="function"==typeof require&&require;if(!d&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var s=t[a]={exports:{}};r[a][0].call(s.exports,function(e){var t=r[a][1][e];return o(t||e)},s,s.exports,e,r,t,n)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}}()({1:[function(e,r,t){"use strict";function n(e){chrome.runtime.sendMessage({method:"addScript",data:"js/"+e+".js"})}function o(){var e=document.createElement("script");e.src=chrome.runtime.getURL("js/baidu.js"),document.body.appendChild(e)}"undefined"!=typeof browser&&(chrome=browser),window.addEventListener("message",function(e){"yunData"===e.data.type&&(window.yunData=e.data.data,window.location.href.includes("/disk/home")?n("home"):n("share"))}),"complete"===document.readyState?o():window.addEventListener("load",o)},{}]},{},[1]);
\ No newline at end of file
!function(){return function e(n,t,r){function o(d,a){if(!t[d]){if(!n[d]){var u="function"==typeof require&&require;if(!a&&u)return u(d,!0);if(i)return i(d,!0);var c=new Error("Cannot find module '"+d+"'");throw c.code="MODULE_NOT_FOUND",c}var f=t[d]={exports:{}};n[d][0].call(f.exports,function(e){var t=n[d][1][e];return o(t||e)},f,f.exports,e,n,t,r)}return t[d].exports}for(var i="function"==typeof require&&require,d=0;d<r.length;d++)o(r[d]);return o}}()({1:[function(e,n,t){(function(e){"use strict";function n(e){chrome.runtime.sendMessage({method:"addScript",data:"js/"+e+".js"})}function t(){var e=document.createElement("script");e.src=chrome.runtime.getURL("js/baidu.js"),document.body.appendChild(e)}void 0!==e.browser&&(e.chrome=e.browser),window.addEventListener("message",function(e){"yunData"===e.data.type&&(window.yunData=e.data.data,window.location.href.includes("/disk/home")?n("home"):n("share"))}),"complete"===document.readyState?t():window.addEventListener("load",t)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1]);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册