Greasy Fork

如何更好的为工作做贡献

帮助你更好的为工作做贡献

目前为 2022-07-13 提交的版本。查看 最新版本

// ==UserScript==
// @name         如何更好的为工作做贡献
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  帮助你更好的为工作做贡献
// @author       AT
// @match        https://*/*
// @match        http://*/*
// @icon         https://raw.githubusercontent.com/Sean529/at-image/main/contribution_favicon.ico
// @require      https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js
// @grant        none
// @license      MIT
/* globals jQuery, $, waitForKeyElements */
// ==/UserScript==

;(function () {
  'use strict'
  $(document).ready(function () {
    const title = $(document).attr('title')
    console.log(
      '%c AT 🥝 title 🥝-19',
      'font-size:13px; background:#de4307; color:#f6d04d;',
      title,
    )
    if (title && title.includes('面试')) {
      const newTitle = title.replace(/面试/g, '「做贡献」')
      $(document).attr('title', newTitle)
    }
  })
})()