Skip to content

Commit

Permalink
Merge pull request QasimWani#81 from BRO3886/main
Browse files Browse the repository at this point in the history
Added script for GeeksForGeeks submissions
  • Loading branch information
QasimWani authored May 5, 2021
2 parents 0edfe26 + 791f511 commit d0335df
Show file tree
Hide file tree
Showing 4 changed files with 2,718 additions and 35 deletions.
76 changes: 42 additions & 34 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,45 @@
{
"manifest_version" : 2,
"name" : "LeetHub",
"description" : "Automatically integrate your code with LeetCode and GitHub",
"homepage_url": "https://github.com/QasimWani/LeetHub",
"version" : "0.1.3",
"author" : "Qasim Wani",
"browser_action": {
"default_icon": "assets/thumbnail.png",
"default_popup": "popup.html"
},
"icons": {
"16": "assets/thumbnail.png",
"48": "assets/thumbnail.png",
"128": "assets/thumbnail.png"
},
"background": {
"scripts": ["scripts/background.js"],
"persistent": false
},
"permissions": [
"tabs",
"activeTab",
"unlimitedStorage",
"storage"
],
"content_scripts": [
{
"matches": [
"https://leetcode.com/*", "https://github.com/*"
],
"js": ["scripts/leetcode.js", "scripts/authorize.js"],
"run_at": "document_start"
}
"manifest_version": 2,
"name": "LeetHub",
"description": "Automatically integrate your Leetcode, GeeksforGeeks submissions to GitHub",
"homepage_url": "https://github.com/QasimWani/LeetHub",
"version": "0.1.9",
"author": "Qasim Wani",
"browser_action": {
"default_icon": "assets/thumbnail.png",
"default_popup": "popup.html"
},
"icons": {
"16": "assets/thumbnail.png",
"48": "assets/thumbnail.png",
"128": "assets/thumbnail.png"
},
"background": {
"scripts": [
"scripts/background.js"
],
"persistent": false
},
"permissions": [
"tabs",
"activeTab",
"unlimitedStorage",
"storage"
],
"content_scripts": [
{
"matches": [
"https://leetcode.com/*",
"https://github.com/*",
"https://practice.geeksforgeeks.org/*"
],
"content_security_policy": "script-src 'self' https://code.jquery.com/jquery-3.3.1.min.js https://github.com/login/oauth/authorize https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js; object-src 'self'"
"js": [
"scripts/leetcode.js",
"scripts/authorize.js",
"scripts/gfg.js"
],
"run_at": "document_idle"
}
],
"content_security_policy": "script-src 'self' https://code.jquery.com/jquery-3.3.1.min.js https://github.com/login/oauth/authorize https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js; object-src 'self'"
}
Loading

0 comments on commit d0335df

Please sign in to comment.