Built in Support for Userstyles



  • Add functionality such as that offered by the "stylish", and similar, extensions. Allow custom stylesheets to be injected to certain webpages.



  • chrome already has userscript support. A userscript has the following preamble:

    // ==UserScript==
    // @name         Name
    // @namespace    lonm.name
    // @version      1.0.0
    // @description  stuff
    // @author       lonm
    // @match        *://vivaldi.*/*
    // ==/UserScript==
    
    code goes here
    

    For userstyles I would suggest the same

    /* UserStyle
    @name         Name
    @namespace    lonm.name
    @version      1.0.0
    @description  stuff
    @author       lonm
    /UserStyle */
    

    The only issue is figuring out a wildcard for url pattern matching, because the */ is already used to end comments in css.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.