Skip to content

Files

Latest commit

055c645 · Jun 28, 2019

History

History
This branch is 186 commits behind nondanee/UnblockNeteaseMusic:master.

browser

Web Extension Port

For test

Implementation

  • Convert node module to ES6 module which can be directly executed in Chrome 61+ without Babel
  • Rewrite crypto module (using CryptoJS) and request (using XMLHttpRequest) module for browser environment
  • Do matching in background and transfer result with chrome runtime communication
  • Inject content script for hijacking Netease Music Web Ajax response

Build

$ node convert.js

Install

Load unpacked extension in Developer mode

Reference