Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuined1 <ruined1@gmail.com>2015-10-12 02:50:47 +0300
committerRuined1 <ruined1@gmail.com>2015-10-12 02:50:47 +0300
commit951f5925424f2d2af8867b2bf95d42bf7065d939 (patch)
tree285b64cb0c3cad747b094c84998d459da47a4018
parent6df18aa00f1ff022724b7decbba5fb1b2e652e96 (diff)
parent9b43eb5c6dc185655c4252fee0f24e8a98e1ad23 (diff)
Merge pull request #103 from 10se1ucgo/Ruined1-patch-1
Make it abundantly clear users lose functionality on extrahosts
-rw-r--r--run.py33
1 files changed, 27 insertions, 6 deletions
diff --git a/run.py b/run.py
index 7d1f6ec..0981cb0 100644
--- a/run.py
+++ b/run.py
@@ -117,8 +117,9 @@ class MainFrame(wx.Frame):
# Extra HOSTS checkbox
self.extrahostbox = wx.CheckBox(panel, label="Block &even more tracking domains", pos=(10, 70))
- self.extrahostbox.SetToolTip(wx.ToolTip("For the paranoid. Adds extra domains to the HOSTS file. WARNING: Some "
- "things like Dr. Watson and Error Reporting may be turned off by this"))
+ self.extrahostbox.SetToolTip(wx.ToolTip("For the paranoid. Adds extra domains to the HOSTS file. WARNING: Skype"
+ " Dr. Watson, hotmail, and Error Reporting will be turned off by this!"))
+ self.Bind(wx.EVT_CHECKBOX, self.extrahosthostcheck, self.extrahostbox)
# IP block checkbox
self.ipbox = wx.CheckBox(panel, label="Block tracking &IP addresses", pos=(10, 85))
@@ -199,6 +200,24 @@ class MainFrame(wx.Frame):
def telemetryhostcheck(self, event):
# Automatically checks the domain block when the telemetry box is checked.
self.hostbox.SetValue(self.telemetrybox.IsChecked())
+
+ def extrahosthostcheck(self, event):
+ # Confirm the user realizes they're about to break skype, hotmail, etc
+ dlg = wx.MessageDialog(parent=None, message='Checking this box will disable '
+ 'the use of SKYPE, HOTMAIL, WATSON, ERROR REPORTING, '
+ 'and possibly other things. Are you SURE you want '
+ 'this box checked?',
+ caption='ATTENTION: Please be aware!',
+ style=wx.YES_NO|wx.YES_DEFAULT|wx.ICON_EXCLAMATION)
+
+ if self.extrahostbox.GetValue() == True:
+ if dlg.ShowModal() == wx.ID_NO:
+ self.extrahostbox.SetValue(False)
+ else:
+ pass
+
+ dlg.Destroy()
+
def selectallapps(self, event):
# Iters through all children of the app static box and checks them except for the last 3.
@@ -260,11 +279,13 @@ class MainFrame(wx.Frame):
'telemetry.appex.bing.net', 'telemetry.microsoft.com', 'telemetry.urs.microsoft.com',
'vortex-bn2.metron.live.com.nsatc.net', 'vortex-cy2.metron.live.com.nsatc.net',
'vortex-sandbox.data.microsoft.com', 'vortex-win.data.microsoft.com',
- 'vortex.data.microsoft.com', 'watson.live.com', 'www.msftncsi.com', 'ssw.live.com')
+ 'vortex.data.microsoft.com', 'watson.live.com', 'www.msftncsi.com', 'ssw.live.com',
+ 'reports.wes.df.telemetry.microsoft.com', 'services.wes.df.telemetry.microsoft.com',
+ )
- extralist = ('fe2.update.microsoft.com.akadns.net', 'reports.wes.df.telemetry.microsoft.com',
- 's0.2mdn.net', 'services.wes.df.telemetry.microsoft.com',
- 'statsfe2.update.microsoft.com.akadns.net', 'survey.watson.microsoft.com', 'view.atdmt.com',
+ extralist = ('fe2.update.microsoft.com.akadns.net',
+ 's0.2mdn.net', 'statsfe2.update.microsoft.com.akadns.net',
+ 'survey.watson.microsoft.com', 'view.atdmt.com',
'watson.microsoft.com', 'watson.ppe.telemetry.microsoft.com',
'watson.telemetry.microsoft.com', 'watson.telemetry.microsoft.com.nsatc.net',
'wes.df.telemetry.microsoft.com', 'ui.skype.com', 'pricelist.skype.com', 'apps.skype.com',