Skrip Ikun

Awalan Judul Halaman

ikun · 1.0.0 · Pasang 0 · Hari ini 0 · Diperbarui 2026-09-20 13:50

Bahasa skrip Tionghoa Sederhana · Juga Tionghoa Sederhana, Inggris, Jepang, Korea, Tionghoa Tradisional

Menambah awalan [Ikun] pada judul halaman agar mudah dicek.

Pasang

Membuka URL di atas di Browser Ikun menampilkan konfirmasi pemasangan. Pemeriksaan pembaruan juga memakai URL ini.

Riwayat versi

Namespace https://scripts.ikunbrowser.com/demo/title-prefix

Kecocokan

Izin

Sumber

// ==UserScript==
// @name               页面标题加前缀
// @name:zh-Hans       页面标题加前缀
// @name:zh-Hant       頁面標題加前綴
// @name:en            Page Title Prefix
// @name:ja            ページタイトルに接頭辞
// @name:ko            페이지 제목 접두사
// @name:id            Awalan Judul Halaman
// @namespace          https://scripts.ikunbrowser.com/demo/title-prefix
// @version            1.0.0
// @description        在标题前加上 [坤坤],方便确认脚本已运行
// @description:zh-Hans 在标题前加上 [坤坤],方便确认脚本已运行
// @description:zh-Hant 在標題前加上 [坤坤],方便確認腳本已運行
// @description:en     Prefix the document title with [Ikun] so you can tell the script is running.
// @description:ja     タイトル先頭に [Ikun] を付け、動作確認しやすくします。
// @description:ko     문서 제목 앞에 [Ikun]을 붙여 스크립트 동작을 확인합니다.
// @description:id     Menambah awalan [Ikun] pada judul halaman agar mudah dicek.
// @author             ikun
// @match              *://*/*
// @grant              none
// @license            MIT
// ==/UserScript==

(function () {
  'use strict';
  var tag = '[坤坤] ';
  if (document.title.indexOf(tag) !== 0) {
    document.title = tag + document.title;
  }
})();