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 …

  • realitista@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month 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@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month 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()
        }
      })
      
      
        • Petter1@lemm.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          Electron is a tool to bundle a website and a interpreter for that website in an application. That works on many platforms. Official discord desktop app, for example, is an electron app, spotify as well.