# xwfix **Repository Path**: xyhken/xwfix ## Basic Information - **Project Name**: xwfix - **Description**: 修复学为网页版聊天框无法使用的问题 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-29 - **Last Updated**: 2022-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 学为修复-xwfix ### 干嘛的? 修复学为网页版聊天框无法使用的问题 ### 这是个啥? 浏览器插件 ### 怎么装? 1. [安装Firefox浏览器](https://www.mozilla.org/zh-CN/firefox/browsers/)。本插件只支持电脑上的Firefox浏览器。Android上的也许可以用,但是没有测试过。不支持Chrome,Edge等浏览器。 2. [下载](https://gitee.com/xyhken/xwfix/attach_files/958515/download/xw_bug_fix-1.0.2-fx.xpi)本插件。 3. 打开下载的插件文件。 如果弹出的窗口询问用什么应用打开,点击“更多应用”,然后选择Firefox。在Firefox中会在左上角有个弹窗,点击“添加”。 至此插件安装完成。 ### 使用说明 1. 使用前请先安装。 2. 使用前还要清除浏览器的cookie。 清除学为网的cookie就可以了,但要是你不知道怎么清除单个网站的cookie,就全清了吧。 3. 本插件在课程列表界面生效。若已经进入直播,请先退出直播回到课程列表,刷新页面,再进入直播。 ### 问答 #### 为什么只支持Firefox? 用到了[Firefox的独有API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Sharing_objects_with_page_scripts)。 ##### 为什么别的插件不用这个API? 别的插件和网页交互,我的插件和网页的脚本交互。 #### 为什么不能像别的插件那样去插件商城安装,非要这么麻烦? 审核的人说我这个插件只能给一小部分人用,因此不能上架。原话: >Due to the limited/non-public audience of this add-on, this add-on is not suitable for being listed. Please submit a self-hosted version and distribute the signed file yourself. If your add-on had already been approved in the past, please change the listing to "Invisible" on the "Status and Versions" page. For more information, see https://extensionworkshop.com/documentation/publish/submitting-an-add-on/