# Thor

The Thor app is a web browser with the focus on speed and usability.
It supports the download of Torrents via the **magnet** protocol.
An Ad-blocker is also integrated which based on https://pgl.yoyo.org/adservers

## General

The basic characteristics of the app are open source, free of charge, transparent, 
free of advertising, respect of personal data,  and legally impeccable.

## Settings

This application based on the WebKit API (like Chrome, Brave, etc). This section just gives
a brief overview of the settings which have been made for the browser.
This information is probably only useful for people with technical background.

General Browser Settings:

```
settings.javaScriptEnabled = true
settings.javaScriptCanOpenWindowsAutomatically = false

settings.safeBrowsingEnabled = true
settings.allowContentAccess = true
settings.allowFileAccess = false
settings.loadsImagesAutomatically = true
settings.blockNetworkLoads = false
settings.blockNetworkImage = false
settings.domStorageEnabled = true
settings.cacheMode = WebSettings.LOAD_DEFAULT
settings.setSupportZoom(true)
settings.builtInZoomControls = true
settings.displayZoomControls = false
settings.layoutAlgorithm = WebSettings.LayoutAlgorithm.NORMAL
settings.mixedContentMode = WebSettings.MIXED_CONTENT_NEVER_ALLOW
settings.useWideViewPort = true
settings.loadWithOverviewMode = true
settings.mediaPlaybackRequiresUserGesture = true
settings.setSupportMultipleWindows(false)
settings.setGeolocationEnabled(false)
```

### Cookies

The application accept all cookies, except third party cookies.

```
CookieManager.getInstance().setAcceptCookie(true)
CookieManager.getInstance().setAcceptThirdPartyCookies(webView, false);
```

## Links

[Privacy Policy](https://gitlab.com/lp2p/thor/-/blob/master/POLICY.md)
<br/>
[Apache License](https://gitlab.com/lp2p/thor/-/blob/master/LICENSE)
