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

Vivaldi only affected? #2

Open
n3f opened this issue May 20, 2022 · 0 comments
Open

Vivaldi only affected? #2

n3f opened this issue May 20, 2022 · 0 comments

Comments

@n3f
Copy link

n3f commented May 20, 2022

Not sure if this applies to any other browsers, but I had to make a small change to addTestMarkToTitle() in order to get this working with vivaldi. (It seems like it may be a general solution, but 🤷‍♂️ )

let dataUrl = `<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>${mark}</text></svg>`;
dataUrl = 'data:image/svg+xml,' + encodeURI(dataUrl);
link.setAttribute(
	'href',
	dataUrl,
);
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

1 participant