View source for MediaWiki:Template:MainPageInfopush.js
From VRChat Wiki
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
$(
(function () {
const visibleContentIds = [];
const visibleContent = new Map();
for (const infopush of document.querySelectorAll(".tpl-infopush")) {
try {
const entries = Object.entries(
JSON.parse(atob(infopush.dataset.entries))
);
const content = infopush.querySelector(".tpl-infopush-content");
entries.map(([id, value], index) => {
const { image: imageUrl, url } = value;
const image = document.createElement("img");
image.dataset.id = id;
image.src = imageUrl;
image.style.width = "100%";
000
1:0
Return to MediaWiki:Template:MainPageInfopush.js.