// offscreen.js 2025/12/08, chromium manifest v3
// for HoreRisu V3.8, Tonchinkan Office (C)2011-2025, All Rights Reserved
// https://www.tonchinkan.biz/

chrome.runtime.onMessage.addListener(message => {
  // When received
  if (message.target === 'offscreen') {
    // launch HoreRisu
    window.open('horerisu:' + message.data, '_blank');
  }
});
