User:Sokwe/common.js

From LifeWiki
Revision as of 06:27, 31 August 2021 by Sokwe (talk | contribs) (Testing a strategy to replace viewer with image when using script blockers)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
$("div#viewer-canvas").wrap("<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>")