Skip to content

Instantly share code, notes, and snippets.

@tambry
Last active August 11, 2022 07:01
Show Gist options
  • Select an option

  • Save tambry/b7237a73b4af263c7bbce44ce132300b to your computer and use it in GitHub Desktop.

Select an option

Save tambry/b7237a73b4af263c7bbce44ce132300b to your computer and use it in GitHub Desktop.

Revisions

  1. tambry revised this gist Aug 11, 2022. No changes.
  2. tambry created this gist Aug 11, 2022.
    16 changes: 16 additions & 0 deletions jpdb-windows-ime-fix.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    // ==UserScript==
    // @name JPDC (jpdb.io) search Windows Japanese IME fix
    // @namespace http://tampermonkey.net/
    // @version 1.0
    // @description Fixes Windows Japanese IME not working in the search bar on Chrome.
    // @author tambre
    // @match https://jpdb.io/*
    // @icon https://www.google.com/s2/favicons?sz=64&domain=jpdb.io
    // @grant none
    // ==/UserScript==
    'use strict';

    (function()
    {
    document.getElementById("q").setAttribute("type", "text");
    })();