Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] re-code to make it works as a browser extension ? #670

Open
sajati opened this issue Jun 2, 2022 · 0 comments
Open

[suggestion] re-code to make it works as a browser extension ? #670

sajati opened this issue Jun 2, 2022 · 0 comments

Comments

@sajati
Copy link

sajati commented Jun 2, 2022

i was able to load it as extension in microsoft edge, which i think would be same in chrome with these manifest.json :

{
	"name" : "AriaNg",
	"version" : "1.2.4",
	"manifest_version": 2,
	"description" : "Aria2 Web UI",
	"icons": {
		"16": "favicon.png",
		"48": "favicon.png",
		"128": "favicon.png"
	},
	"browser_action" : {
		"default_title" : "AriaNg",
		"default_icon" : "favicon.png",
		"default_popup" : "index.html"
	},
	"background": {
		"scripts": [
			"js/angular-packages-1.6.10.min.js",
			"js/aria-ng-a87a79b0e7.min.js",
			"js/bootstrap-3.4.1.min.js",
			"js/echarts-common-3.8.5.min.js",
			"js/jquery-3.3.1.min.js",
			"js/moment-with-locales-2.29.1.min.js",
			"js/plugins-d667739c1d.min.js"
		]
	},
	"permissions": [
		"notifications"
	]
}

and added litle css to aria-ng-1bfa53e627.min.css :

body,html {min-width:600px;min-height:800px;...........

tried to connect to RPC and it does connect, finished downloads also shown, but when i tried to add a new download , clicking "NEW" button doesn't show anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant