/jp/ - Japanese Culture
Anything related to Japan may be posted here.
Board Rules
Max file size: 350.00 MB
Max files: 5
Max message length: 4096
Manage Board | Staff: Moderate thread
Return | Magrathea | Catalog | Bottom
Expand All Images
const caster_kanji_map = { yamagishi: "山岸 愛梨", egawa: "江川 清音", maie: "眞家 泉", matsuyuki: "松雪 彩花", shirai: "白井 ゆかり", takayama: "高山 奈々", hiyama: "檜山 沙耶", komaki: "駒木 結衣", uchida: "内田 侑希", oshima: "大島 璃音", tokita: "戸北 美月", kawabata: "川畑 玲", kobayashi: "小林 李衣奈", ogawa: "小川 千奈", uozumi: "魚住 茉由", aohara: "青原 桃香", okamoto: "岡本 結子 リサ", fukuyoshi: "福吉 貴文", tanabe: "田辺 真南葉", matsumoto: "松本 真央" }; function caster_kanji(name) { if (name in caster_kanji_map) { return caster_kanji_map[name]; } else { return ""; } }
The following content is not available on this app.. Watch on the latest version of YouTube.
#!/bin/sh exec mpv --config-dir="$HOME/.config/mpv_conf" $@
// ==UserScript== // @name endchan.org media on hover // @namespace Violentmonkey Scripts // @match https://endchan.org/*/res/*.html* // @grant none // @version 1.0 // @author - // @description Display media by hovering over it. // ==/UserScript== function createHoverMediaContainer() { const div = document.createElement("div") div.id = "hoverMedia" const img = document.createElement("img") div.appendChild(img) return div } function displayOnHover(ev) { const target = ev.target const parent = target.parentElement const hover = document.getElementById("hoverMedia") const hoverImg = hover.querySelector("img") //console.log(target, parent) if (target.tagName == "IMG" && parent.classList.contains("imgLink")) { hoverImg.src = parent.href hover.classList.add("enabled") } } function hideOnLeave(ev) { const target = ev.target const parent = target.parentElement const hover = document.getElementById("hoverMedia") const hoverImg = hover.querySelector("img") if (target.tagName == "IMG" && parent.classList.contains("imgLink")) { hoverImg.src = parent.href hover.classList.remove("enabled") } } const css = ` #hoverMedia { display: none; position: fixed; top: 0; right: 0; } #hoverMedia.enabled { display: block; } #hoverMedia img { max-width: 100vw; max-height: 100vh; } ` // Add CSS let style = document.createElement("style"); style.type = "text/css"; style.appendChild(document.createTextNode(css)); document.head.appendChild(style); // setup container for image document.body.append(createHoverMediaContainer()) // setup event handlers document.addEventListener('mouseover', displayOnHover) document.addEventListener('mouseout', hideOnLeave)
Top | Catalog | Post a reply | Magrathea | Return | Content Removal | Public thread | Staff: Moderate thread
Board owners/volunteers: use the authenticated staff thread view for bans, IP/range info, thread settings, transfer, and spoil tools. This public thread page is shared with all visitors and caches, so the controls below are only delete/report.
You can delete your own posts with the password you posted with.
Only staff can delete posts on this board. Reporting still works.