MCPcopy
hub / github.com/hoothin/UserScripts / loaded

Function loaded

Picviewer CE+/dist.user.js:16848–16853  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16846 let mode = matchedRule.getMode(imgSrc);
16847 let media;
16848 let loaded = function() {
16849 media.play();
16850 self.showTips("");
16851 popupImgWin(this || media);
16852 media.removeEventListener('loadeddata', loaded);
16853 }
16854 switch (mode) {
16855 case "video":
16856 media = createVideo();

Callers 2

loadImgFunction · 0.70
initFunction · 0.70

Calls 1

popupImgWinFunction · 0.70

Tested by

no test coverage detected