witchcraft
witchcraft copied to clipboard
Wildcard support?
Hi
Is it possible to match ALL websites, ALL domains?
Thx
_global.js (and _global.css) will load on any domain :) !
/edit: also in _global you can easily say something like this:
if (document.querySelector('video')) {
// @include lib/videos.js
};
// or match a domain 👍🏼
if (location.href.match('https://github.com/user/helloworld')) {
// @include helloworld.js
}
great!
Suggestion: Add a wysiwyg for all domains. Maybe could be just a checkbox "Apply to all domains", or maybe a button "Add CSS/JS for all domains"