Greasy Fork is available in English.

Google Keep 全屏编辑

全屏编辑Google Keep,隐藏dashboard

< 脚本Google Keep 全屏编辑的反馈

提问/评论

§
发表于:2021-10-09

If someone encounters the same problem as me:

Google Chrome 94.0.4606.71, Tampermonkey 4.13:
Problem: Script does not work (i.e. does not change anything at Google Keep web page).

TL;DR: Solution summary:
add "// @inject-into content" to script
and use Violentmonkey

Investigation (details):
Browser dev tools console on keep.google.com shows errors like:

Uncaught (in promise) TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment.

Google Keep website apparently has new security stuff that breaks this script.

If I, in hope for a fix, add "// @inject-into content" to script, error changes to

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'createElement')

jQuery is apparently messed up now
Copied script content from Tampermonkey to Violentmonkey. Problem didn't occur anymore -> fixed.

§
发表于:2022-09-24

Ui有点丑

发表回复

登录以发表回复。