memos icon indicating copy to clipboard operation
memos copied to clipboard

Custom Javascript is not executed

Open q2apro opened this issue 1 year ago • 0 comments

Describe the bug

I followed the docs https://www.usememos.com/docs/advanced-settings/custom-style-and-script and added

window.onload = function () {
  alert("Welcome to my custom Memos page!");
};

to the custom Javascript section.

Result: Nothing. Alert is not showing up when reloading the page.

If I do not use window.onload but directly alert('Test'); the alert shows up.

The version of Memos you're using

latest

q2apro avatar Jan 09 '24 11:01 q2apro