OSDN Git Service

Ad関連の残り物を掃除
authorspx <spx268@gmail.com>
Wed, 5 Mar 2014 18:26:27 +0000 (03:26 +0900)
committerspx <spx268@gmail.com>
Wed, 5 Mar 2014 18:26:27 +0000 (03:26 +0900)
OpenTween/Setting/SettingCommon.cs
OpenTween/Tween.cs
OpenTween/WebBrowserController.cs

index f090a1d..2aed4ef 100644 (file)
@@ -209,8 +209,6 @@ namespace OpenTween
         public int MapThumbnailZoom = 15;
         public MapProvider MapThumbnailProvider = MapProvider.OpenStreetMap;
         public bool IsListsIncludeRts = false;
-        public long GAFirst = 0;
-        public long GALast = 0;
         public bool TabMouseLock = false;
         public bool IsRemoveSameEvent = false;
         public bool IsUseNotifyGrowl = false;
@@ -220,8 +218,6 @@ namespace OpenTween
     {
         public string Username = "";
         public long UserId = 0;
-        public long GAFirst = 0;
-        public long GALast = 0;
         public string Token = "";
         [XmlIgnore]
         public string TokenSecret = "";
index 8da1963..e18cbdd 100644 (file)
@@ -2320,7 +2320,6 @@ namespace OpenTween
             }
             else
             {
-                //Google.GASender.GetInstance().TrackEventWithCategory("post", "end", tw.UserId);
                 _hookGlobalHotkey.UnregisterAllOriginalHotkey();
                 _ignoreConfigSave = true;
                 MyCommon._endingFlag = true;
@@ -3880,11 +3879,7 @@ namespace OpenTween
                                                         SettingDialog.ProxyUser,
                                                         SettingDialog.ProxyPassword);
                     this.CreatePictureServices();
-    #if UA
-                    this.SplitContainer4.Panel2.Controls.RemoveAt(0);
-                    this.ab = new AdsBrowser();
-                    this.SplitContainer4.Panel2.Controls.Add(ab);
-    #endif
+
                     try
                     {
                         if (SettingDialog.TabIconDisp)
index 6196054..6b2d523 100644 (file)
@@ -416,7 +416,7 @@ namespace OpenTween
                 {
                     pPolicy = WebBrowserAPI.URLPOLICY_DISALLOW;
                 }
-                if (Regex.IsMatch(pwszUrl, @"^https?://((api\.)?twitter\.com/|([a-zA-Z0-9]+\.)?twimg\.com/|ssl\.google-analytics\.com/)")) pPolicy = WebBrowserAPI.URLPOLICY_ALLOW;
+                if (Regex.IsMatch(pwszUrl, @"^https?://((api\.)?twitter\.com/|([a-zA-Z0-9]+\.)?twimg\.com/)")) pPolicy = WebBrowserAPI.URLPOLICY_ALLOW;
                 return HRESULT.S_OK;
             }
             // ActiveX実行状態かを検査しポリシー設定