Changeset View
Changeset View
Standalone View
Standalone View
extension/constants.js
Show All 12 Lines | 1 | /* | |||
---|---|---|---|---|---|
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. | ||
14 | 14 | | |||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | DEFAULT_EXTENSION_SETTINGS = { | 19 | DEFAULT_EXTENSION_SETTINGS = { | ||
20 | mpris: { | 20 | mpris: { | ||
21 | enabled: true | 21 | enabled: true, | ||
22 | websiteSettings: {} | ||||
22 | }, | 23 | }, | ||
23 | mprisMediaSessions: { | 24 | mprisMediaSessions: { | ||
24 | enabled: true | 25 | enabled: true | ||
25 | }, | 26 | }, | ||
26 | kdeconnect: { | 27 | kdeconnect: { | ||
27 | enabled: true | 28 | enabled: true | ||
28 | }, | 29 | }, | ||
29 | downloads: { | 30 | downloads: { | ||
Show All 11 Lines | 40 | breezeScrollBars: { | |||
41 | enabled: false | 42 | enabled: false | ||
42 | } | 43 | } | ||
43 | }; | 44 | }; | ||
44 | 45 | | |||
45 | IS_FIREFOX = (typeof InstallTrigger !== "undefined"); // heh. | 46 | IS_FIREFOX = (typeof InstallTrigger !== "undefined"); // heh. | ||
46 | 47 | | |||
47 | // NOTE if you change this, make sure to adjust the error message shown in action_popup.html | 48 | // NOTE if you change this, make sure to adjust the error message shown in action_popup.html | ||
48 | SUPPORTED_PLATFORMS = ["linux", "openbsd", "freebsd"]; | 49 | SUPPORTED_PLATFORMS = ["linux", "openbsd", "freebsd"]; | ||
50 | | ||||
51 | // Default MPRIS settings for websites | ||||
52 | const MPRIS_WEBSITE_SETTINGS = { | ||||
53 | //"https://www.example.com": false | ||||
54 | }; |