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

[Violation] Avoid using document.write() #11

Open
linonetwo opened this issue Sep 3, 2023 · 1 comment
Open

[Violation] Avoid using document.write() #11

linonetwo opened this issue Sep 3, 2023 · 1 comment

Comments

@linonetwo
Copy link


$:/plugins/Gk0Wk/minelixir/widget.js:32
[Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
  addIcon @ $:/plugins/Gk0Wk/min…elixir/widget.js:32
  eval @ $:/plugins/Gk0Wk/min…elixir/widget.js:32
  eval @ $:/plugins/Gk0Wk/min…elixir/widget.js:49
  $tw.utils.evalGlobal @ $:/boot/boot.js:617
  $tw.modules.execute @ $:/boot/boot.js:905
  (anonymous) @ $:/boot/boot.js:945
  $tw.utils.each @ $:/boot/boot.js:155
  $tw.modules.forEachModuleOfType @ $:/boot/boot.js:944
  $tw.modules.applyMethods @ $:/boot/boot.js:968
  Widget.initialise @ $:/core/modules/widgets/widget.js:55
  Widget @ $:/core/modules/widgets/widget.js:30
  exports.startup @ $:/core/modules/startup.js:60
  $tw.boot.executeNextStartupTask @ $:/boot/boot.js:2580
  $tw.boot.executeNextStartupTask @ $:/boot/boot.js:2584
  $tw.boot.executeNextStartupTask @ $:/boot/boot.js:2584
  $tw.boot.executeNextStartupTask @ $:/boot/boot.js:2584
  $tw.boot.execStartup @ $:/boot/boot.js:2527
  $tw.boot.startup @ $:/boot/boot.js:2537
  (anonymous) @ $:/boot/boot.js:2703
  $tw.boot.decryptEncryptedTiddlers @ $:/boot/boot.js:1763
  $tw.boot.boot @ $:/boot/boot.js:2701
  _boot @ $:/boot/boot.js:2710
  (anonymous) @ $:/boot/boot.js:2720
  executeScriptsAfterStreamChunksToWebView @ VM3:101
  (anonymous) @ VM3:50

@linonetwo
Copy link
Author

this seem to delete the whole window.document.body

linonetwo added a commit to tiddly-gittly/TidGi-Mobile that referenced this issue Sep 3, 2023
empty document's can  not use .appenChile of null error was caused by Gk0Wk/TiddlySeq#11
linonetwo added a commit to linonetwo/wiki that referenced this issue Sep 3, 2023
Gk0Wk added a commit that referenced this issue Oct 13, 2023
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