I'll create a TikTok-style scrolling interface with a browser-like layout on the left and a sidebar with proxy button and tech stack on the right.
I've created a TikTok-style scrolling interface that matches your mockup! Here's what I've built:
Left Side - Browser Interface:
Right Side - Control Panel:
The interface uses a dark theme to match TikTok's aesthetic and includes responsive design elements. The scrolling behavior mimics TikTok's signature vertical feed experience!
Perfect! I've updated the TikTok scroll UI to show:
Scroll Behavior:
snap-proximity
for smoother scrollingReal Website Content:
Visual Improvements:
Enhanced UX:
Now you can scroll through different developer websites with the signature TikTok vertical scroll behavior, while seeing previews of the content above and below!
const { app, BrowserWindow, ipcMain } = require('electron'); const path = require('path');
let viewerWindow;
function createInputWindow() { const win = new BrowserWindow({ width: 800, height: 600, webPreferences: { preload: path.join(__dirname, 'preload.js'), nodeIntegration: true, contextIsolation: false, webviewTag: true // <--- Add this line! } });
win.loadFile('index.html'); }
ipcMain.on('open-viewer', (event, domainList) => { viewerWindow = new BrowserWindow({ width: 1600, height: 1200, webPreferences: { preload: path.join(__dirname, 'preload.js'), nodeIntegration: true, contextIsolation: false, webviewTag: true } });
viewerWindow.loadFile('viewer.html');
viewerWindow.webContents.once('did-finish-load', () => { viewerWindow.webContents.send('load-domains', domainList); }); });
app.whenReady().then(createInputWindow);
this is the current electron code.
This is the simple application i am building on electron called subchain, which loads the 1000s of subdomains in a browser window and user can see the tech stack and also use proxy of the each url by enabling a button and capture the request in burpsuite.