diff --git a/--THINGS TO IMPLEMENT-- b/--THINGS TO IMPLEMENT-- new file mode 100644 index 0000000..251d915 --- /dev/null +++ b/--THINGS TO IMPLEMENT-- @@ -0,0 +1,5 @@ +--- Adblock: +- https://github.com/ghostery/adblocker +--- History +- Using json to store it +--- Extensions idfk know how this would work 😠\ No newline at end of file diff --git a/main.js b/main.js index d7ab43b..5fa5197 100644 --- a/main.js +++ b/main.js @@ -8,12 +8,18 @@ const createWindow = () => { width: 1280, height: 800, webPreferences: { - preload: path.join(__dirname, 'preload.js') + preload: path.join(__dirname, 'preload.js'), + contextIsolation: false, // Allows easier access to contentWindow + nodeIntegration: true, + nodeIntegrationInSubFrames: true, + webSecurity: false, // CRITICAL: Allows cross-origin history control + sandbox: false, // Disables the internal Electron sandbox + webviewTag: true, // Add this! } }) win.webContents.session.setUserAgent(androidUA) - + win.maximize() // Maximize win.loadFile('src/index.html') } diff --git a/src/img/arrow_back_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg b/src/img/arrow_back_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg new file mode 100644 index 0000000..5b1d6fe --- /dev/null +++ b/src/img/arrow_back_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/img/arrow_forward_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg b/src/img/arrow_forward_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg new file mode 100644 index 0000000..bb14d9a --- /dev/null +++ b/src/img/arrow_forward_ios_48dp_E3E3E3_FILL0_wght700_GRAD0_opsz48.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/index.html b/src/index.html index 89013cb..ed7d1a1 100644 --- a/src/index.html +++ b/src/index.html @@ -10,26 +10,31 @@
- +