Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard support? #45

Open
johnaweiss opened this issue Aug 16, 2021 · 4 comments
Open

Wildcard support? #45

johnaweiss opened this issue Aug 16, 2021 · 4 comments

Comments

@johnaweiss
Copy link

Hi

Is it possible to match ALL websites, ALL domains?

Thx

@mjuksel
Copy link

mjuksel commented Aug 22, 2021

_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
}

@johnaweiss
Copy link
Author

great!

@johnaweiss
Copy link
Author

johnaweiss commented Aug 28, 2021

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"

@steinhaug
Copy link

@johnaweiss

Add a wysiwyg for all domains

Now that was a fascinating question, are we talking'bout drag'n'drop aswell? You could might aswell make sure that the editor is forcing brainfuck as syntax and the all images never gets compressed - for the full experience. If you are interested in replacing all webpages with content from wikipedia I will not be able to help, or if you are not willing to disclose what vendor for the WYSIWYG you have in mind we could use brainfuck as mentioned above highly recommended as dropin for any WYSIWYG.

But seriously, many not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants