Update settings tab design
This commit is contained in:
parent
8c06dfbca8
commit
556f519413
7 changed files with 2321 additions and 1462 deletions
|
@ -127,7 +127,7 @@ namespace XeroBrowser
|
|||
}
|
||||
|
||||
string[] blockedUrls = { "https://diamondcreeper.org/1337", "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://www.youtube.com/watch?v=xm3YgoEiEDc", "https://www.youtube.com/watch?v=xvFZjo5PgG0", "https://www.youtube.com/watch?v=O91DT1pR1ew", "https://www.youtube.com/watch?v=o-YBDTqX_ZU", "https://www.youtube.com/watch?v=H8ZH_mkfPUY", "https://www.youtube.com/watch?v=o-YBDTqX_ZU", "https://www.youtube.com/watch?v=xvFZjo5PgG0" };
|
||||
string[] blockedDrms = { "netflix.com", "disneyplus.com" };
|
||||
string[] blockedDrms = { "https://www.netflix.com/", "https://www.disneyplus.com/", "https://www.twitch.tv/" };
|
||||
|
||||
if (!_isBlocked)
|
||||
{
|
||||
|
@ -181,10 +181,10 @@ namespace XeroBrowser
|
|||
|
||||
private void chromiumWebBrowser1_LoadError(object sender, LoadErrorEventArgs e)
|
||||
{
|
||||
string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "loaderror.html");
|
||||
_fileUri2 = new Uri(filePath);
|
||||
string fileUrl = _fileUri2.AbsoluteUri;
|
||||
chromiumWebBrowser1.Load(fileUrl);
|
||||
// string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "loaderror.html");
|
||||
// _fileUri2 = new Uri(filePath);
|
||||
// string fileUrl = _fileUri2.AbsoluteUri;
|
||||
// chromiumWebBrowser1.Load(fileUrl);
|
||||
}
|
||||
|
||||
private void txtSearchOrUrl_KeyUp(object sender, KeyEventArgs e)
|
||||
|
@ -212,6 +212,16 @@ namespace XeroBrowser
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
private void bunifuImageButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void bunifuImageButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
chromiumWebBrowser1.Load("https://google.com");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue