Please refer to the GNU Public License for more details. This source code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Tinfoil is designed, written and maintained by Denis Roio source code is free software you can redistribute it and/or modify it under the terms of the GNU Public License as published by the Free Software Foundation either version 3 of the License, or (at your option) any later version. Tinfoil is Copyright (C) 2017-2018 by the Foundation If one understands what it does from this geeky documentation, it may turn to be very useful.ĭevelopers can be contacted using the issues on GitHub or over IRC on channel #dyne (or direct port 9999 SSL)Ĭontributions to Tinfoil are welcome, especially to add more supported browsers, integration with desktop workflows and even graphical interfaces. Tinfoil is stable and used by its author Jaromil in conjunction to the i3 window manager and dmenu, and a few other people. Userjs_templates+=(array_of_paths_to_userjs_mozilla_configurations) ![]() Profilepath="~/.tinfoil/profiles/$browser.$profile"īrowser_executable="/full/path/to/the/browser/executable/binary"įirejail_profiles+=(array_of_paths_to_configuration_files) The configuration variables are rendered using the following scheme: Tinfoil can be launched with the conf command preceeding the selected browser and profile arguments: it will then print out its configuration for the specific selection, showing the templates applied and their path inside declared variables that can be used by other scripts using eval on its output. For instance the default firejail configuration for all mozilla family browsers is templates/mozilla.firejail. firejail extension and function pretty much the same way as the -prefs.js files: they are found in the same /templates locations and can be named and assigned to a browsery family, a specific browser and/or to profile names. In case firejail is installed, then the tinfoil-firejail command can be used to isolate the execution environment of the browser it is used the same way as tinfoil followed by two arguments: the name of the browser and the name of the profile.įirejail configurations are files terminated by the. ) so that the settings will be activated only when a specific profile is used in a specific browserįor instance the default configuration for all mozilla family browsers is templates/mozilla-prefs.js and the default configuration for the all the anonymous profiles is templates/. a specific profile for a certain browser (i.e.) so that all profiles named luther will inherit the configuration when used in any browser of the mozilla family a specific profile for all browsers of the same family (i.e.icecat-prefs.js) so that all profiles used in the browser will inherit the configuration mozilla-prefs.js) so that all browsers of the family will inherit the configuration ![]() In each of the above directories the configuration files can be named with filenames starting with so they will be applied to: /usr/local/share/tinfoil/templates (fallback defaults).The locations where the configurations reside are: Cascading configurationsĬonfigurations are stored both in system-wide and user-specific directories, where user specific configurations end up overriding the system-wide ones. The way it works is by cascading configurations like user.js (basically the about:config settings) applying templates to all browsers of the same family, or some templates only to specific browsers, or some others just to specific profile names. Tinfoil provides a simple and powerful way to maintain browser configurations across profiles and even different browsers of the same family (right now only the mozilla and chrome families are supported). then tinfoil is the only thing that can save you. We live in times when Russian Hackers may be hiding behind every corner: if they are armed with a microwave cannon. Profiles are stored inside ~/.tinfoil/profiles, each one consists of a directory whose name is composed as $browser.$profile, so the example above created the luther profile for the icecat browser inside.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |