Skip to content

Commit

Permalink
working mv3 version (thanks mahfoozm for proxy help)
Browse files Browse the repository at this point in the history
  • Loading branch information
parsakhaz committed May 10, 2023
1 parent 5aa3c5c commit b43fbab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AUTH_TOKEN = 'dGVzdDp0ZXN0';
// UWS, UWB, UWT
const SCHOOL_ID = ['U2Nob29sLTE1MzA=', 'U2Nob29sLTQ0NjY=', 'U2Nob29sLTQ3NDQ='];
// Not needed for MV2
const PROXY_URL = '';
const PROXY_URL = 'http://140.238.154.147:8088/';

const searchProfessor = async (name, schoolID) => {
console.log('Searching for professor:', name);
Expand Down
5 changes: 3 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "uwRMP",
"description": "RMP extension for the University of Washington course page (MyPlan).",
"version": "1.0.0",
"icons": { "128": "assets/RMPuw.png" },
"permissions": ["activeTab", "webRequest", "https://myplan.uw.edu/course/*", "https://www.ratemyprofessors.com/*"],
"optional_permissions": ["webNavigation", "tabs"],
"background": {
"scripts": ["background.js"]
"service_worker": "background.js"
},
"content_scripts": [
{
Expand Down

0 comments on commit b43fbab

Please sign in to comment.