Awalan Judul Halaman
Menambah awalan [Ikun] pada judul halaman agar mudah dicek.
Membuka URL di atas di Browser Ikun menampilkan konfirmasi pemasangan. Pemeriksaan pembaruan juga memakai URL ini.
Kecocokan
*://*/*
Izin
none
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;
}
})();