Site Sparks URL Pattern

Site Sparks URL Pattern

A URL pattern helps determine the sites on which a Spark should run.
Quote
The general structure is: <scheme>://<host>/<path>


Component
Description
Notes / Examples
Scheme
The protocol of the URL
Must be one of: http, https, or a wildcard * (matches only http or https)
Host
Hostname of the URL
Examples: www.example.com, *.abc.com,

Rules: Wildcard * must be first or only character, followed by . or /
Path
Path after the host
abc: /abcWildcard /* is used by convention. For host permissions, the path is required but ignored.

Special Cases

Pattern
Description
<all_urls>
Matches any URL with a permitted scheme (http, https, file). Use with caution.

Example Patterns

Pattern
Matches
https://*/*
Any URL using HTTPS
https://*/foo*
Any HTTPS URL with path starting foo (e.g., https://example.com/foo/bar.html)
https://*.example.com/foo*bar
HTTPS URLs on google.com host, path starts with foo and ends with bar (e.g., https://www.example.com/foo/baz/bar)
*://mail.example.com/ or *://mail.example.com/*
Matches HTTP or HTTPS URLs on mail.google.com



    • Related Articles

    • Site Sparks

      Site Sparks lets you add a touch of magic to the web, customizing sites to behave exactly the way you want. Using small pieces of JavaScript called user scripts (Sparks), it can modify pages, automate tasks, add shortcuts, and enhance your browsing ...
    • Auto Mode Switching

      The Dynamic Mode Switching helps to organize your browsing sessions as you juggle between work and personal lives. You can browse easily in different modes without the hustle of creating a profile for each mode. Adding or removing a set of URLs in ...
    • Smart Dark Mode

      Smart Dark Mode applies a dark-coloured theme to websites for visual convenience. It is especially beneficial in low-light conditions as it is easy on the eyes and reduces eye strain. You can customize the application of dark mode to all sites, ...
    • Incognito mode

      Assume that you are planning a surprise gift for your loved one's birthday, and you eventually end up searching for the top 10 gifts online- you wouldn't want your family to know the surprise gift, would you? Anyone can easily search the browsing ...
    • Privacy protection settings in Ulaa

      Ulaa Protection offers comprehensive security and privacy features to safeguard your online experience. With two distinct modes—Standard and Extreme—users can choose their level of protection. The Standard mode offers solid security and privacy, ...