tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

README.md (5454B)


Firefox Focus for Android

Browse like no one’s watching. The new Firefox Focus automatically blocks a wide range of online trackers — from the moment you launch it to the second you leave it. Easily erase your history, passwords and cookies, so you won’t get followed by things like unwanted ads.

Firefox Focus provides automatic ad blocking and tracking protection on an easy-to-use private browser.

<a href="https://play.google.com/store/apps/details?id=org.mozilla.focus" target="blank"><img src="https://play.google.com/intl/enus/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90"/></a>

Getting Involved

We encourage you to participate in this open source project. We love Pull Requests, Bug Reports, ideas, (security) code reviews or any other kind of positive contribution.

Before you attempt to make a contribution please read the Community Participation Guidelines.

Beginners! - Watch out for Issues with the "Good First Issue" label. These are easy bugs that have been left for first timers to have a go, get involved and make a positive contribution to the project!

Build Instructions

  1. View the Wiki.

`shell git clone https://github.com/mozilla-mobile/focus-android `

  1. View the Wiki.

`shell ./gradlew clean app:assembleFocusDebug `

  1. View the Wiki.

focusArmDebug for ARM focusX86Debug for X86 focusAarch64Debug for ARM64

local.properties helpers

You can speed up or enhance local development by setting a few helper flags available in local.properties which will be made easily available as gradle properties.

Building debuggable release variants

Nightly, Beta and Release variants are getting published to Google Play and therefore are not debuggable. To locally create debuggable builds of those variants, add the following to <proj-root>/local.properties:

debuggable

Auto-publication workflow for application-services and glean

If you're making changes to these projects and want to test them in Focus, auto-publication workflow is the fastest, most reliable way to do that.

In local.properties, specify a relative path to your local glean and/or application-services projects. E.g.:

Once these flags are set, your Focus builds will include any local modifications present in these projects.

See a demo of auto-publication workflow in action.

Pre-push hooks

To reduce review turn-around time, we'd like all pushes to run tests locally. We'd recommend you use our provided pre-push hook in quality/pre-push-recommended.sh. Using this hook will guarantee your hook gets updated as the repository changes. This hook tries to run as much as possible without taking too much time.

To add it, run this command from the project root:

ln -s ../../quality/pre-push-recommended.sh .git/hooks/pre-push

To push without running the pre-push hook (e.g. doc updates):

git push <remote> --no-verify

Test Channel on Google PlayStore

To get Focus Nightly on your device, follow these steps:

1) Visit https://groups.google.com/g/firefox-focus-pre-release and join the Google Group 2) After you have joined the group opt-in to receive Nightly builds, again with the same Google account: https://play.google.com/apps/testing/org.mozilla.focus.nightly 3) Download Firefox Focus (Nightly) from Google Play: https://play.google.com/store/apps/details?id=org.mozilla.focus.nightly

Make sure you use the same Google Account for both steps.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/

[sec issue]: https://bugzilla.mozilla.org/enterbug.cgi?assignedto=nobody%40mozilla.org&bugfileloc=http%3A%2F%2F&bugignored=0&bugseverity=normal&bugstatus=NEW&cffxiteration=---&cffxpoints=---&component=Security%3A%20Android&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&definedgroups=1&flagtype-4=X&flagtype-607=X&flagtype-791=X&flagtype-800=X&flagtype-803=X&formname=enterbug&groups=firefox-core-security&maketemplate=Remember%20values%20as%20bookmarkable%20template&opsys=Unspecified&priority=--&product=Focus&repplatform=Unspecified&targetmilestone=---&version=---