Beispiel #1
0
 public Form2()
 {
     InitializeComponent();
     ThuVien.XoaCookie();
     //view morre --https://developer.mozilla.org/en-US/docs/Mozilla/Preferences
     GeckoPreferences.User["intl.accept_languages"]      = "vi";
     GeckoPreferences.User["accept-language"]            = "vi,en-US;q=0.8,en;q=0.6";
     GeckoPreferences.User["general.useragent.override"] = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36";
     btnDk.Visible = false;
 }
Beispiel #2
0
 public frmMain()
 {
     InitializeComponent();
     ThuVien.XoaCookie();
     //view morre --https://developer.mozilla.org/en-US/docs/Mozilla/Preferences
     GeckoPreferences.User["intl.accept_languages"]      = "vi";
     GeckoPreferences.User["accept-language"]            = "vi,en-US;q=0.8,en;q=0.6";
     GeckoPreferences.User["general.useragent.override"] = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36";
     web1.Navigate("https://m.facebook.com/");
 }