Comments (8)
Hi,
you are able to add it by yourself without forking this repo. You need to provide own policy file. For chromium it is this file. Just copy that file, modify it by adding your extensions to the ExtensionInstallForcelist
and ExtensionInstallWhitelist
list and mount it to container as volume.
version: "3.4"
services:
neko:
image: "m1k1o/neko:chromium"
restart: "unless-stopped"
shm_size: "2gb"
+ volumes:
+ - ./policies.json:/etc/chromium/policies/managed/policies.json
ports:
- "8080:8080"
- "52000-52100:52000-52100/udp"
cap_add:
- SYS_ADMIN
environment:
NEKO_EPR: 52000-52100
Similarly for firefox and chromium-ungoogled, but you need to download them and pass it to the container.
from neko.
oh, okay. Thanks for the Help :)
from neko.
Hi, I tried that With the Firefox-Config, and did something like that:
{
"policies": {
"BlockAboutAddons": false,
"BlockAboutConfig": true,
"BlockAboutProfiles": true,
"BlockAboutSupport": true,
"Bookmarks": [
{
"Title": "YouTube",
"URL": "https://www.youtube.com/",
"Favicon": "https://www.youtube.com/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
},
{
"Title": "Google",
"URL": "https://www.google.com/",
"Favicon": "https://www.google.com/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
},
{
"Title": "Netflix",
"URL": "https://netflix.com",
"Favicon": "https://www.netflix.com/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
},
{
"Title": "Prime-Video",
"URL": "https://www.primevideo.com/",
"Favicon": "https://www.primevideo.com/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
},
{
"Title": "Prime-Video GER",
"URL": "https://www.amazon.de/gp/video/",
"Favicon": "https://www.amazon.de/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
},
{
"Title": "Disney +",
"URL": "https://www.disneyplus.com/de-de",
"Favicon": "https://www.disneyplus.com/favicon.ico",
"Folder": "Pages",
"Placement": "toolbar"
}
],
"CaptivePortal": false,
"DisableAppUpdate": true,
"DisableBuiltinPDFViewer": true,
"DisableDeveloperTools": false,
"DisableFeedbackCommands": true,
"DisableFirefoxAccounts": true,
"DisableFirefoxScreenshots": true,
"DisableFirefoxStudies": true,
"DisableForgetButton": true,
"DisableMasterPasswordCreation": true,
"DisablePocket": true,
"DisablePrivateBrowsing": true,
"DisableProfileImport": true,
"DisableProfileRefresh": true,
"DisableSafeMode": true,
"DisableSetDesktopBackground": true,
"DisableSystemAddonUpdate": true,
"DisableTelemetry": true,
"DisplayBookmarksToolbar": false,
"DontCheckDefaultBrowser": true,
"EnableTrackingProtection": {
"Cryptomining": true,
"Fingerprinting": true,
"Value": true
},
"ExtensionSettings": {
"*": {
"installation_mode": "blocked"
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
"installation_mode": "force_installed"
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi",
"installation_mode": "force_installed"
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/surfshark-vpn-proxy/latest.xpi",
"installation_mode": "force_installed"
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/600-sound-volume/latest.xpi",
"installation_mode": "force_installed"
}
},
"ExtensionUpdate": false,
"FirefoxHome": {
"Highlights": false,
"Pocket": false,
"Search": true,
"Snippets": false,
"TopSites": true
},
"FlashPlugin": {},
"HardwareAcceleration": false,
"Homepage": {
"Additional": [],
"StartPage": "none"
},
"NewTabPage": true,
"NoDefaultBookmarks": true,
"OfferToSaveLogins": false,
"OfferToSaveLoginsDefault": false,
"OverrideFirstRunPage": "",
"OverridePostUpdatePage": "",
"PasswordManagerEnabled": false,
"Permissions": {
"Camera": {
"BlockNewRequests": true
},
"Location": {
"BlockNewRequests": true
},
"Microphone": {
"BlockNewRequests": true
},
"Notifications": {
"BlockNewRequests": true
}
},
"Preferences": {
"browser.tabs.warnOnClose": false,
"browser.urlbar.suggest.bookmark": false,
"browser.urlbar.suggest.history": false,
"browser.urlbar.suggest.openpage": false,
"datareporting.policy.dataSubmissionPolicyBypassNotification": true,
"dom.disable_window_flip": true,
"dom.disable_window_move_resize": true,
"dom.event.contextmenu.enabled": false,
"extensions.getAddons.showPane": false,
"places.history.enabled": false,
"privacy.file_unique_origin": true,
"ui.key.menuAccessKeyFocuses": false
},
"PromptForDownloadLocation": false,
"SanitizeOnShutdown": {
"Cache": true,
"Cookies": true,
"Downloads": true,
"FormData": true,
"History": true,
"OfflineApps": true,
"Sessions": true,
"SiteSettings": true
}
}
}
But it has just Removed the Config for NordVPN and canged nothing else.
I also added the Path to the Docker Command:
-v '/mnt/user/appdata/neko/policies.json':'/usr/share/firefox-esr/distribution/policies.json':'rw'
Do you know what i did wrong @m1k1o?
Thx for your Time :)
from neko.
The key value in ExtensionSettings
is not a mainainter E-Mail. It must be a valid Extension ID.
"ExtensionSettings": {
"*": {
"installation_mode": "blocked",
"allowed_types": ["extension"]
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
"installation_mode": "force_installed"
},
"[email protected]": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi",
"installation_mode": "force_installed"
},
"{732216ec-0dab-43bb-ac85-4b5e1977599d}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/surfshark-vpn-proxy/latest.xpi",
"installation_mode": "force_installed"
},
"{c4b582ec-4343-438c-bda2-2f691c16c262}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/600-sound-volume/latest.xpi",
"installation_mode": "force_installed"
}
}
That is nowhere to be seen in the addons website, however, it can be found in their source code. You just need to search for byGUID
.
Simple JavaScript code to be executed on addons page can get you the GUID:
Object.keys(JSON.parse(document.getElementById('redux-store-state').textContent).addons.byGUID)[0]
from neko.
Simple JavaScript code to be executed on addons page can get you the GUID:
Oh, nice. What do you mean with Addon Page? Do you mean the Page in the Firefox Addon-Store? I tried it there but i just Recive an Undefined. have I misunderstood something?
from neko.
Yes, the homepage of firefox addon e.g.: https://addons.mozilla.org/en-US/firefox/addon/600-sound-volume/
If that script is not working, you can still browse source-code and find it manually:
from neko.
Yes, the homepage of firefox addon e.g.: https://addons.mozilla.org/en-US/firefox/addon/600-sound-volume/
If that script is not working, you can still browse source-code and find it manually:
Ahh, okay. I was on the German Site, that didn't Worked
from neko.
I got it now Working, thx :)
from neko.
Related Issues (20)
- Running neko with caddy - 404 error
- WebRTC with cloudflare HOT 4
- Multiarch images HOT 5
- Is there a way please to clear IP bans without restarting the room? HOT 5
- I cannot control anything ! HOT 4
- [Feature] Add environment variable to configure Timezone HOT 2
- Option to disable auto broadcast if NEKO_BROADCAST_URL is set. HOT 9
- Automagically disable Broadcast after given Time if no one in the Room
- Support Audio Input (bidirectional audio) HOT 2
- Black Screen Issues while using private docker container behind a nodejs proxy server HOT 17
- Allow setting NAT1TO1 as hostname
- Neko Breaks (cannot login anymore) if dynamic Ip changes HOT 4
- [HELP] Simply stream a PID HOT 2
- Did someone run selenium script in google-chrome docker? It will stuck at webdriver.Chrome HOT 1
- Default login not working. Peer failed HOT 3
- Raspberry pi 5 error HOT 3
- Reversed Proxy with Apache unable to connect externally HOT 3
- Remove all UI HOT 1
- How to search for images, I am unable to upload images HOT 10
- Firefox is already running, but is not responding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neko.