Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5e5472dd4 | ||
|
|
b1b989dac9 | ||
|
|
1d039eb656 | ||
|
|
905432882c | ||
|
|
61ee5cb055 | ||
|
|
33f6df6958 | ||
|
|
82e9d2d28e | ||
|
|
2c679f5ff7 | ||
|
|
36827a2b1e | ||
|
|
d1ca11e008 |
@@ -0,0 +1,22 @@
|
||||
# 63.0.3239.6
|
||||
* added Bromite patch for Google search results click-tracking removal
|
||||
* added x86 target CPU
|
||||
* fixed red blink frame
|
||||
|
||||
# 63.0.3235.2
|
||||
* first release with NoChromo adblocking patch
|
||||
* Bromite patch: disable NTP remote suggestions
|
||||
* added some Inox/Iridium/Ungoogled-Chromium patches, namely:
|
||||
** DuckDuckGo search engine
|
||||
** disable battery status service
|
||||
** disable formatting in OmniBox
|
||||
** disable GCM status checks
|
||||
** use local fonts instead of fonts from Google servers
|
||||
** disable updater pings
|
||||
** do not enable Google integrations by default (translation, lookup, etc)
|
||||
** disable the ad promo system
|
||||
** do not store passwords by default
|
||||
** do not fetch Google promotions
|
||||
** restore classic NTP
|
||||
** only keep cookies until exit
|
||||
** block third-party cookies
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<img src="https://www.bromite.org/android-icon-192x192.png" width="96" alt="Bromite" />
|
||||
|
||||
Bromite is [Chromium](https://www.chromium.org/Home) plus some patches for ad blocking.
|
||||
Bromite is [Chromium](https://www.chromium.org/Home) plus some patches for ad blocking and enhanced privacy.
|
||||
|
||||
See [open issues](https://github.com/bromite/bromite/issues) for the development in progress.
|
||||
|
||||
@@ -21,15 +21,11 @@ ETH donations address: `0xf47ff39223d828f99fec5ab53bd068c5c0522042`
|
||||
# Features
|
||||
|
||||
* adblocking (currently baked-in, no configuration options available)
|
||||
* some privacy patches from Inox patchset, ungoogled-chromium and Iridium projects
|
||||
|
||||
# How to build
|
||||
|
||||
The [bromite main repository](https://github.com/bromite/bromite) contains tags for each corresponding Chromium release (see https://chromium.googlesource.com/chromium/src.git).
|
||||
|
||||
Each tag has the corresponding patches that can be applied on top of the chromium codebase.
|
||||
|
||||
Please refer to official Chromium build documentation to get started on how to build Chromium; if you can build Chromium for Android, you can build Bromite.
|
||||
* remove click-tracking from Google search results
|
||||
* [DuckDuckGo](https://duckduckgo.com/) search engine (select it from search engines under settings)
|
||||
* privacy enhancement patches from Inox patchset, ungoogled-chromium and Iridium projects
|
||||
* all codecs included (proprietary, open H.264 etc.)
|
||||
* built with official Chrome optimizations
|
||||
|
||||
# Releases
|
||||
|
||||
@@ -37,15 +33,21 @@ A build server goes through the very lengthy build operation and then new versio
|
||||
|
||||
Each tag corresponds to a Chromium release tag.
|
||||
|
||||
# How to build
|
||||
|
||||
The [bromite main repository](https://github.com/bromite/bromite) contains tags for each corresponding Chromium release (see https://chromium.googlesource.com/chromium/src.git).
|
||||
|
||||
Please refer to [official Chromium build documentation](https://www.chromium.org/developers/how-tos/get-the-code) to get started on how to build Chromium; if you can build Chromium for Android, you can build Bromite.
|
||||
|
||||
# Credits
|
||||
|
||||
* [Chromium project](https://www.chromium.org/Home) and developers
|
||||
* [ungoogled-chromium](https://github.com/Eloston/ungoogled-chromium) for some patches
|
||||
* Iridium project for some patches (taken from above ungoogled-chromium)
|
||||
* [Inox patchset](https://github.com/gcarq/inox-patchset) for some patches (taken from above ungoogled-chromium)
|
||||
* [Chromium project](https://www.chromium.org/Home)
|
||||
* nochromo for the original adblock patch
|
||||
* AdBlock Plus, uBlock, EasyList and EasyPrivacy for the compilation of original adblock patch
|
||||
|
||||
# License
|
||||
|
||||
[GNU GPL v3](./LICENSE)
|
||||
The patches published as part of the Bromite project are released under [GNU GPL v3](./LICENSE).
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/tracing/third_party/gl-matrix/jsdoc-template/static/default.css b/tracing/third_party/gl-matrix/jsdoc-template/static/default.css
|
||||
index efcf782..99a6767 100644
|
||||
--- a/third_party/catapult/tracing/third_party/gl-matrix/jsdoc-template/static/default.css
|
||||
+++ b/third_party/catapult/tracing/third_party/gl-matrix/jsdoc-template/static/default.css
|
||||
@@ -168,7 +168,7 @@ ul.inheritsList
|
||||
|
||||
/* Copied from styles.css generated by Github Pages */
|
||||
|
||||
-@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
|
||||
+@import url(chrome://resources/css/roboto.css);
|
||||
|
||||
body {
|
||||
padding:50px;
|
||||
@@ -0,0 +1,57 @@
|
||||
commit 8d0b67d87462d537af6f7eb0cf445a2f66d5dd5c
|
||||
Author: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||||
Date: Sun Oct 15 18:01:18 2017 +0200
|
||||
|
||||
Remove click tracking from google search results
|
||||
|
||||
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
||||
index 1bada98..fb15e01 100644
|
||||
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
||||
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
||||
@@ -58,6 +58,8 @@
|
||||
#include "platform/bindings/RuntimeCallStats.h"
|
||||
#include "platform/bindings/V8PerIsolateData.h"
|
||||
|
||||
+#include "base/logging.h"
|
||||
+
|
||||
namespace blink {
|
||||
|
||||
using namespace HTMLNames;
|
||||
@@ -1391,6 +1393,26 @@ StaticElementList* ContainerNode::QuerySelectorAll(
|
||||
return QuerySelectorAll(selectors, ASSERT_NO_EXCEPTION);
|
||||
}
|
||||
|
||||
+// this logic here will cleanup click tracking from hyperlink nodes on search results
|
||||
+static void applyInsertCustomization(Document *document, Node *c) {
|
||||
+ if (c->getNodeType() != Node::kElementNode)
|
||||
+ return;
|
||||
+ Element *element = ToElement(c);
|
||||
+
|
||||
+ // filter out non-hyperlink nodes
|
||||
+ if (element->tagName() != "A")
|
||||
+ return;
|
||||
+
|
||||
+ // determine whether this is a Google search results page
|
||||
+ WTF::String domain = document->GetSecurityOrigin()->Domain();
|
||||
+ size_t pos = domain.Find(".google.");
|
||||
+ if ((pos != WTF::kNotFound) && (domain.length() - pos - 8 < 4)) {
|
||||
+ //LOG(INFO) << "sanitizing Google search results hyperlink, href: " << element->getAttribute("href") << " onmousedown: " << element->getAttribute("onmousedown");
|
||||
+ // remove attribute
|
||||
+ element->removeAttribute("onmousedown");
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static void DispatchChildInsertionEvents(Node& child) {
|
||||
if (child.IsInShadowTree())
|
||||
return;
|
||||
@@ -1402,6 +1424,10 @@ static void DispatchChildInsertionEvents(Node& child) {
|
||||
Node* c = &child;
|
||||
Document* document = &child.GetDocument();
|
||||
|
||||
+ // csagan5: no extension support in Chrom* for Android? no problem! we add custom code directly here
|
||||
+ if (c->parentNode())
|
||||
+ applyInsertCustomization(document, c);
|
||||
+
|
||||
if (c->parentNode() &&
|
||||
document->HasListenerType(Document::kDOMNodeInsertedListener))
|
||||
c->DispatchScopedEvent(MutationEvent::Create(
|
||||
Reference in New Issue
Block a user