Skip to content

Commit

Permalink
Rewriting the chrome extension with manifest v3
Browse files Browse the repository at this point in the history
Currently:
* The background page and popup page seem to be working fine
* Cleaned up a lot of code and rewrote them to use more morden JS features like async/await/modules
* Restructured the folder structure to make more sense; and reformatted some files to use a better coding style

Still need to:
* Fix the options page for setting custom proxy server
* Make the header modifieer work with manifest v3
* Change the remaining files to comply with the code style
  • Loading branch information
zhuzhuor committed Jul 1, 2022
1 parent 44336a8 commit 62fb6e4
Show file tree
Hide file tree
Showing 56 changed files with 1,236 additions and 2,449 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
env: {
es2021: true,
browser: true,
webextensions: true,
node: true,
jquery: true,
},
extends: [
'google',
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'require-jsdoc': 'off',
'max-len': ['error', {'code': 100}],
},
};
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions Procfile

This file was deleted.

6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Unblock Youku

This project contains two parts (closely related with shared JavaScript code).

1. A _Google Chrome extension_ helping users access their web services while travelling outside mainland China. You can find this extension on Chrome Web Store at [http://uku.im/chrome](http://uku.im/chrome).

2. A Node.js based _backend server_ that supports the redirect mode of the Chrome extension. [![Build Status](https://travis-ci.org/uku/Unblock-Youku.svg?branch=master)](https://travis-ci.org/uku/Unblock-Youku)
A Chrome extension helping users access their web services while travelling outside mainland China. You can find this extension on Chrome Web Store at [http://uku.im/chrome](http://uku.im/chrome).

## Disclaimer

Expand Down
258 changes: 0 additions & 258 deletions chrome/config.js

This file was deleted.

32 changes: 0 additions & 32 deletions chrome/donation.js

This file was deleted.

Loading

0 comments on commit 62fb6e4

Please sign in to comment.