Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 30, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 30, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 30, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 30, 2025

      Does Elden Ring Nightreign have crossplay or cross-platform play?

      May 30, 2025

      Cyberpunk 2077 sequel enters pre-production as Phantom Liberty crosses 10 million copies sold

      May 30, 2025

      EA has canceled yet another game, shuttered its developer, and started more layoffs

      May 30, 2025

      The Witcher 3: Wild Hunt reaches 60 million copies sold as work continues on The Witcher 4

      May 30, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      How Remix is shaking things up

      May 30, 2025
      Recent

      How Remix is shaking things up

      May 30, 2025

      Perficient at Kscope25: Let’s Meet in Texas!

      May 30, 2025

      Salesforce + Informatica: What It Means for Data Cloud and Our Customers

      May 30, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Does Elden Ring Nightreign have crossplay or cross-platform play?

      May 30, 2025
      Recent

      Does Elden Ring Nightreign have crossplay or cross-platform play?

      May 30, 2025

      Cyberpunk 2077 sequel enters pre-production as Phantom Liberty crosses 10 million copies sold

      May 30, 2025

      EA has canceled yet another game, shuttered its developer, and started more layoffs

      May 30, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»Il Browser Brave Introduce la Possibilità di Iniettare JavaScript Personalizzato

    Il Browser Brave Introduce la Possibilità di Iniettare JavaScript Personalizzato

    February 12, 2025
    Il Browser Brave Introduce la Possibilità di Iniettare JavaScript Personalizzato

    Se avete mai provato fastidio a causa di pop-up invadenti, modalità chiare che accecano di notte o barre laterali che occupano metà dello schermo, c’è una buona notizia: il browser Brave ha appena introdotto una funzionalità che potrebbe cambiare per sempre la vostra esperienza di navigazione. Chiamata “custom scriptlets” (scriptlet personalizzati), questa novità permette agli utenti esperti di iniettare il proprio codice JavaScript direttamente nei siti web, personalizzando la navigazione in base alle proprie preferenze, senza bisogno di estensioni.

    Cosa Sono gli Scriptlet Personalizzati?

    Gli scriptlet personalizzati sono piccoli frammenti di codice JavaScript che possono essere creati e iniettati direttamente nelle pagine web. Questi script consentono di modificare il comportamento dei siti, migliorando la privacy, regolando l’aspetto visivo o correggendo piccole seccature quotidiane. Ad esempio, è possibile rimuovere elementi che disturbano la lettura o forzare l’attivazione del tema scuro su qualsiasi sito, tutto senza dover ricorrere a estensioni esterne.

    Questa funzionalità è disponibile a partire dalla versione 1.75 di Brave per desktop ed è stata inizialmente sviluppata per aiutare nel debug del sistema di blocco degli annunci del browser. Tuttavia, il team di Brave si è reso conto che questa strumento era troppo prezioso per rimanere confinato al solo team di sviluppo e ha deciso di renderlo disponibile a tutti gli utenti.

    Possibilità Pratiche degli Scriptlet Personalizzati

    Le possibilità offerte dagli scriptlet personalizzati sono praticamente infinite, ma ecco alcuni esempi concreti di utilizzo:

    • Privacy e Sicurezza: Bloccare i tracciatori basati su JavaScript, randomizzare le API di fingerprinting (quei meccanismi che cercano di identificare l’utente) o sostituire gli script di Google Analytics con versioni “false”.
    • Personalizzazione e Accessibilità: Nascondere barre laterali, pop-up, annunci fluttuanti o widget fastidiosi, forzare l’attivazione del tema scuro, regolare colori e dimensioni del testo o espandere le aree di contenuto.
    • Prestazioni e Usabilità: Bloccare la riproduzione automatica dei video, caricare le immagini solo quando necessario (lazy load), compilare automaticamente i moduli o creare scorciatoie da tastiera personalizzate.

    Come Utilizzare gli Scriptlet Personalizzati

    Per accedere a questa funzionalità, aprite Brave e navigate verso:

    brave://settings/shields/filters

    Quindi attivate la Modalità Sviluppatore (Developer Mode). Cliccate su “Aggiungi nuovo scriptlet” (Add new scriptlet) e inserite il vostro codice JavaScript. Salvate e applicate lo scriptlet al sito desiderato utilizzando la sintassi delle regole di filtro, come ad esempio:

    esempio.com##+js(nome-del-vostro-scriptlet.js)

    Attenzione alla Sicurezza

    Con grandi poteri arrivano grandi responsabilità. Brave avverte che iniettare script non affidabili può causare problemi o addirittura rischi per la privacy. Pertanto, è consigliabile utilizzare solo codici che si comprendono o che sono stati creati da fonti affidabili.

    Se siete nuovi nel mondo degli script, iniziate con codici semplici e progredite gradualmente. E, naturalmente, condividete le vostre creazioni con la comunità, perché il web è migliore quando tutti collaborano!

    Fonte: https://diolinux.com.br/noticias/brave-browser-injetar-javascript.html

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleButler – companion for Home Assistant
    Next Article OpenSwoole – programmatic platform

    Related Posts

    News & Updates

    Does Elden Ring Nightreign have crossplay or cross-platform play?

    May 30, 2025
    News & Updates

    Cyberpunk 2077 sequel enters pre-production as Phantom Liberty crosses 10 million copies sold

    May 30, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Xbox Series X|S Seagate expansion card drops to its lowest price ever

    News & Updates

    JavaScript’s Rust tool belt

    Development

    Google Deepmind Researchers Introduce Jumprelu Sparse Autoencoders: Achieving State-of-the-Art Reconstruction Fidelity

    Development

    CVE-2025-39365 – Rocket Apps wProject Cross-site Scripting

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Selenium, data driven testing using NUnit and SQL queries.

    May 3, 2024

    I am developing a Selenium Test Automation Framework for the purpose of testing multiple websites.

    I have currently set up the Framework in Visual Studio using C# and implementing the Page Object Model.

    The Framework itself is a C# project and the Test project is separate but references the Framework.

    I am happy with the fundamentals of the Framework but I want to implement some Data Driven aspects in order to increase the durability of the tests. I currently have NUnit running paramaterised test using [TestCase] but the data is hardcoded by me.

    The ideal scenario would be to add a DatabaseHelper class to the Framework which would allow me to define queries on the database under test to return values and Nunit would repeat the same test for each row of the SQL query.

    Has anyone here implemented a similar method and how would you go about creating it?

    New Laravel 12: NO New Features, and That’s GOOD!

    February 25, 2025

    How WordPress Democratizes Publishing & Fuels an Economy

    May 26, 2024

    Jay Parikh, former Meta exec, helms Microsoft’s new AI division for platforms & tools

    January 14, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.