Skip to content

适用于Microsoft Edge浏览器的SwitchyOmega扩展构建方法

License

Notifications You must be signed in to change notification settings

SunsetMkt/SwitchyOmega-Edge-Release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwitchyOmega-Edge-Release

适用于Microsoft Edge浏览器的SwitchyOmega扩展构建方法

这是一份简易操作方法指引。

分步操作流程

准备工作

必要的修改

根据Edge开发者文档的指引,我们需要在manifest.json中检查:

  • 为了便于检查,可以先将manifest.json格式化
  • 检查API请求是否包含在Edge的API列表中,在本扩展中似乎不存在此问题
  • 移除update_URL
  • 移除key
  • 打开Edge浏览器的开发人员模式,加载解压后的扩展,检查错误提示

处理错误

以下错误出现在报告中:

Unrecognized manifest key 'applications'.

移除manifest.json中的applications

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.

修复此问题可能需要重写插件的部分功能。在2023年前,我们还不需要担心这个问题。

其余的问题不来自迁移扩展,不做修改。

发布扩展

在此不作赘述。

Releases

No releases published

Packages

No packages published