diff --git a/chrome-mv3-prod/manifest.json b/chrome-mv3-prod/manifest.json index 434b916..119576b 100644 --- a/chrome-mv3-prod/manifest.json +++ b/chrome-mv3-prod/manifest.json @@ -1 +1 @@ -{"icons":{"16":"icon16.plasmo.6c567d50.png","32":"icon32.plasmo.76b92899.png","48":"icon48.plasmo.aced7582.png","64":"icon64.plasmo.8bb5e6e0.png","128":"icon128.plasmo.3c1ed2d2.png"},"manifest_version":3,"action":{"default_title":"一字幕 | 点击弹出菜单!","default_popup":"popup.html"},"version":"0.3.37","author":"supercrc ","name":"一字幕 - 视频字幕插件 | 电影字幕 | 免费","description":"一款免费的支持双语的音频、视频字幕的辅助插件。可按单词,短语,整句翻译;支持(YouTube,Bilibili 等视频平台);亦可支持本地外挂字幕和内嵌字幕。可变速、重复播放、跟读、画面遮挡。","background":{"service_worker":"static/background/index.js"},"options_ui":{"page":"options.html","open_in_tab":true},"permissions":["storage","scripting","unlimitedStorage","activeTab","contextMenus","alarms","cookies","tabs"],"content_scripts":[{"matches":["*://www.1zimu.com/player*","*://1zimu.com/player*","*://frp.1zimu.com/*","*://localhost/*"],"js":["NextjsGetLocalSrt.cd72d129.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":[""],"js":["TextSelectionEvent.d37512e3.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://www.aliyundrive.com/drive/file*"],"js":["aliyundriveSub.51e12f57.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.bilibili.com/video*","*://bilibili.com/video*"],"js":["getBiliAISubtitle.c9875a29.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":[""],"js":["browserInfo.253816e4.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.bilibili.com/video*","*://bilibili.com/video*"],"js":["getBilibiliSubtitleRelay.5223e331.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["storeCore.c6936d8e.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://www.1zimu.com/*","*://1zimu.com/*","*://open.1zimu.com/player*","*://localhost/*"],"js":["storeCookie.e09bee81.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.youtube.com/watch*","*://youtube.com/watch*"],"js":["youtubeSub.704b900a.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":[""],"js":["TextSelectionPopup.7b2a7a0b.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":["*://www.aliyundrive.com/drive/file*"],"js":["AliyundriveSubtitleList.10e52871.js"],"run_at":"document_start","css":[]},{"matches":[""],"js":["InlineSubtitleMask.374a3163.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["DraggableDict.2192bd9b.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"js":["DraggableSubtitleList.ce760cf6.js"],"run_at":"document_end","css":[]},{"matches":[""],"js":["ToastContainerContent.8e77d816.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":["*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/player*","*://www.1zimu.com/player*"],"js":["NextjsSubtitleList.7ef938b3.js"],"run_at":"document_start","css":[]},{"matches":["*://*.youtube.com/watch*","*://youtube.com/watch*","*://*.youtube.com/*","*://youtube.com/*"],"js":["YoutubeSubtitleList.7b2cfa28.js"],"run_at":"document_start","css":[]},{"matches":[""],"js":["subtitle.806b046b.js"],"run_at":"document_end","all_frames":true,"css":[]}],"host_permissions":["http://*/*","https://*/*","*://*.1zimu.com/"],"web_accessible_resources":[{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"resources":["injectBilibili.e4104329.js"]},{"matches":["*://*.youtube.com/*","*://youtube.com/*"],"resources":["injectBilibili.e4104329.js","injectYoutube.0a5b435a.js"]},{"matches":[""],"resources":["TextSelectionPopup.6e038a4b.css","TextSelectionPopup.93a5d608.png"]},{"matches":["*://www.aliyundrive.com/*"],"resources":["TextSelectionPopup.6e038a4b.css"]},{"matches":[""],"resources":["TextSelectionPopup.6e038a4b.css","InlineSubtitleMask.8ca99ff2.css","InlineSubtitleMask.afcd2d81.css"]},{"matches":[""],"resources":["TextSelectionPopup.6e038a4b.css"]},{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"resources":["TextSelectionPopup.6e038a4b.css","InlineSubtitleMask.8ca99ff2.css","InlineSubtitleMask.afcd2d81.css"]},{"matches":[""],"resources":["ToastContainerContent.811b9895.css"]},{"matches":["*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*"],"resources":["TextSelectionPopup.6e038a4b.css","InlineSubtitleMask.8ca99ff2.css","InlineSubtitleMask.afcd2d81.css"]},{"matches":["*://*.youtube.com/*","*://youtube.com/*","*://*.youtube.com/*","*://youtube.com/*"],"resources":["TextSelectionPopup.6e038a4b.css","InlineSubtitleMask.8ca99ff2.css","InlineSubtitleMask.afcd2d81.css"]},{"matches":[""],"resources":["TextSelectionPopup.6e038a4b.css"]}]} \ No newline at end of file +{"icons":{"16":"icon16.plasmo.6c567d50.png","32":"icon32.plasmo.76b92899.png","48":"icon48.plasmo.aced7582.png","64":"icon64.plasmo.8bb5e6e0.png","128":"icon128.plasmo.3c1ed2d2.png"},"manifest_version":3,"action":{"default_title":"一字幕 | 点击弹出菜单!","default_popup":"popup.html"},"version":"0.3.38","author":"supercrc ","name":"一字幕 - 视频字幕插件 | 电影字幕 | 免费","description":"一款免费的支持双语的音频、视频字幕的辅助插件。可按单词,短语,整句翻译;支持(YouTube,Bilibili 等视频平台);亦可支持本地外挂字幕和内嵌字幕。可变速、重复播放、跟读、画面遮挡。","background":{"service_worker":"static/background/index.js"},"options_ui":{"page":"options.html","open_in_tab":true},"permissions":["storage","scripting","unlimitedStorage","activeTab","contextMenus","alarms","cookies"],"content_scripts":[{"matches":["*://www.1zimu.com/player*","*://1zimu.com/player*","*://frp.1zimu.com/*","*://localhost/*"],"js":["NextjsGetLocalSrt.cd72d129.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":[""],"js":["TextSelectionEvent.d37512e3.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://www.aliyundrive.com/drive/file*"],"js":["aliyundriveSub.51e12f57.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":[""],"js":["browserInfo.253816e4.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.bilibili.com/video*","*://bilibili.com/video*"],"js":["getBiliAISubtitle.c9875a29.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.bilibili.com/video*","*://bilibili.com/video*"],"js":["getBilibiliSubtitleRelay.5223e331.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["storeCore.c6936d8e.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://www.1zimu.com/*","*://1zimu.com/*","*://open.1zimu.com/player*","*://localhost/*"],"js":["storeCookie.e09bee81.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://*.youtube.com/watch*","*://youtube.com/watch*"],"js":["youtubeSub.704b900a.js"],"run_at":"document_start","all_frames":true,"css":[]},{"matches":["*://www.aliyundrive.com/drive/file*"],"js":["AliyundriveSubtitleList.10e52871.js"],"run_at":"document_start","css":[]},{"matches":["*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/player*","*://www.1zimu.com/player*"],"js":["NextjsSubtitleList.7ef938b3.js"],"run_at":"document_start","css":[]},{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"js":["DraggableSubtitleList.ce760cf6.js"],"run_at":"document_end","css":[]},{"matches":["*://*.youtube.com/watch*","*://youtube.com/watch*","*://*.youtube.com/*","*://youtube.com/*"],"js":["YoutubeSubtitleList.7b2cfa28.js"],"run_at":"document_start","css":[]},{"matches":[""],"js":["ToastContainerContent.8e77d816.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["DraggableDict.2192bd9b.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["InlineSubtitleMask.374a3163.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["TextSelectionPopup.7b2a7a0b.js"],"run_at":"document_end","all_frames":true,"css":[]},{"matches":[""],"js":["subtitle.806b046b.js"],"run_at":"document_end","all_frames":true,"css":[]}],"host_permissions":["http://*/*","https://*/*","*://*.1zimu.com/"],"web_accessible_resources":[{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"resources":["injectBilibili.e4104329.js"]},{"matches":["*://*.youtube.com/*","*://youtube.com/*"],"resources":["injectBilibili.e4104329.js","injectYoutube.0a5b435a.js"]},{"matches":["*://www.aliyundrive.com/*"],"resources":["AliyundriveSubtitleList.6e038a4b.css"]},{"matches":["*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*"],"resources":["AliyundriveSubtitleList.6e038a4b.css","NextjsSubtitleList.8ca99ff2.css","NextjsSubtitleList.afcd2d81.css"]},{"matches":["*://*.bilibili.com/*","*://bilibili.com/*"],"resources":["AliyundriveSubtitleList.6e038a4b.css","NextjsSubtitleList.8ca99ff2.css","NextjsSubtitleList.afcd2d81.css"]},{"matches":["*://*.youtube.com/*","*://youtube.com/*","*://*.youtube.com/*","*://youtube.com/*"],"resources":["AliyundriveSubtitleList.6e038a4b.css","NextjsSubtitleList.8ca99ff2.css","NextjsSubtitleList.afcd2d81.css"]},{"matches":[""],"resources":["ToastContainerContent.811b9895.css"]},{"matches":[""],"resources":["AliyundriveSubtitleList.6e038a4b.css"]},{"matches":[""],"resources":["AliyundriveSubtitleList.6e038a4b.css","NextjsSubtitleList.8ca99ff2.css","NextjsSubtitleList.afcd2d81.css"]},{"matches":[""],"resources":["AliyundriveSubtitleList.6e038a4b.css","TextSelectionPopup.93a5d608.png"]},{"matches":[""],"resources":["AliyundriveSubtitleList.6e038a4b.css"]}]} \ No newline at end of file diff --git a/chrome-mv3-prod/options.95eda3f3.js b/chrome-mv3-prod/options.95eda3f3.js index 77a4c57..37abc9c 100644 --- a/chrome-mv3-prod/options.95eda3f3.js +++ b/chrome-mv3-prod/options.95eda3f3.js @@ -1,4 +1,4 @@ -var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,r,n,l,o){var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},i="function"==typeof a[l]&&a[l],s=i.cache||{},u="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(e,r){if(!s[e]){if(!t[e]){var n="function"==typeof a[l]&&a[l];if(!r&&n)return n(e,!0);if(i)return i(e,!0);if(u&&"string"==typeof e)return u(e);var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}f.resolve=function(r){var n=t[e][1][r];return null!=n?n:r},f.cache={};var d=s[e]=new c.Module(e);t[e][0].call(d.exports,f,d,d.exports,this)}return s[e].exports;function f(e){var t=f.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=t,c.cache=s,c.parent=i,c.register=function(e,r){t[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return a[l]}}),a[l]=c;for(var d=0;d{if(u)return;u=document.getElementById("__plasmo");let e=(0,a.createRoot)(u),t=(0,i.getLayout)(s);e.render((0,l.jsx)(t,{children:(0,l.jsx)(s.default,{})}))})},{"react/jsx-runtime":"8iOxN",react:"329PG","react-dom/client":"blMEL","@plasmo-static-common/react":"4kz0G","../../src/options.tsx":"4aKPW","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"8iOxN":[function(e,t,r){t.exports=e("ba80e5a03a461355")},{ba80e5a03a461355:"hIfNu"}],hIfNu:[function(e,t,r){var n=e("61e3cf0e9433c992"),l=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:l,type:e,key:u,ref:c,props:o,_owner:i.current}}r.Fragment=o,r.jsx=u,r.jsxs=u},{"61e3cf0e9433c992":"329PG"}],"329PG":[function(e,t,r){t.exports=e("ae0ab14aecd941d7")},{ae0ab14aecd941d7:"5ejwk"}],"5ejwk":[function(e,t,r){var n=Symbol.for("react.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function v(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||h}function y(){}function x(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var j=x.prototype=new y;j.constructor=x,g(j,v.prototype),j.isPureReactComponent=!0;var C=Array.isArray,S=Object.prototype.hasOwnProperty,w={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var l,o={},a=null,i=null;if(null!=t)for(l in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,l)&&!D.hasOwnProperty(l)&&(o[l]=t[l]);var s=arguments.length-2;if(1===s)o.children=r;else if(1