Example #1
0
        private void initializeLocations()
        {
            //buildNumber = "1.0.435.38";
            //buildNumber = "1.0.435.42";
            buildNumber = "1.2.490.43";

            // note1: use '@' to insert unmodified path, otherwise will need to use escape char '\' in path
            htmlOriginal = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\browser.html";
            htmlBackup = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\browserBackup.html";
            customCss = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\style\custom.css";

            internetExplorerStyle = new InternetExplorerStyle(customCss);
            basicStyle = new BasicStyle(customCss);
        }
Example #2
0
        private void initializeLocations(string customBuildNumber)
        {
            buildNumber = customBuildNumber;

            // note1: use '@' to insert unmodified path, otherwise will need to use escape char '\' in path
            htmlOriginal = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\browser.html";
            htmlBackup = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\browserBackup.html";
            customCss = root + @"Users\" + username + @"\AppData\Local\Vivaldi\Application\" + buildNumber + @"\resources\vivaldi\style\custom.css";

            internetExplorerStyle = new InternetExplorerStyle(customCss);
            basicStyle = new BasicStyle(customCss);

            addStylesToComboBox(style.GetName());
            getStyle();
        }