We’ve been anticipating it for years,1 and it’s finally happening. Google is finally killing uBlock Origin – with a note on their web store stating that the …

  • Petter1
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Just make an electron out of those sites 🌚

    • realitista
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      Sounds interesting, care to expand?

      The only concrete one I can actually recollect is generating a quote from our quoting tool in Salesforce. I just ended up running my 100+ Salesforce windows in Chrome because it has a good feature where you can name each window so I can see which customers I’m working on in the taskbar. It’s good to have those cordoned off from my normal browsing anyway. So this one doesn’t bother me. For everything else I use Firefox.

      • Petter1
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        I used this prompt

        I want to create an electron app for linux of a third party webapp

        How would I do that?

        And chatGPT gave me a good instruction, will try that out. Apparently, you only need node, electron and the javascript like this:

        
        const { app, BrowserWindow } = require('electron')
        
        function createWindow() {
          // Create the browser window
          const win = new BrowserWindow({
            width: 800,
            height: 600,
            webPreferences: {
              nodeIntegration: true
            }
          })
        
          // Load the third-party web app
          win.loadURL('https://www.thirdpartyapp.com')
        
          // Optionally remove the default menu
          win.setMenu(null)
        
          // Open DevTools (optional for debugging)
          // win.webContents.openDevTools()
        }
        
        // Run the createWindow function when Electron is ready
        app.whenReady().then(createWindow)
        
        // Quit when all windows are closed
        app.on('window-all-closed', () => {
          if (process.platform !== 'darwin') {
            app.quit()
          }
        })
        
        app.on('activate', () => {
          if (BrowserWindow.getAllWindows().length === 0) {
            createWindow()
          }
        })
        
        
        • realitista
          link
          fedilink
          English
          arrow-up
          1
          ·
          58 minutes ago

          I still don’t know what this is though? Something Linux specific?