Last active
July 9, 2023 06:44
-
-
Save caliburn1994/ef993f676111627b9023f02d191c5d13 to your computer and use it in GitHub Desktop.
Visit Google Map with Japanese
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Visit Google Map with Japanese | |
// @namespace https://gist.github.com/caliburn1994/ef993f676111627b9023f02d191c5d13 | |
// @version 0.2 | |
// @description Visit Google Map with Japanese | |
// @author caliburn1994 | |
// @match https://*.google.com/maps* | |
// @exclude https://*.google.com/maps*hl=ja* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @updateURL https://gist.githubusercontent.com/caliburn1994/ef993f676111627b9023f02d191c5d13/raw/google-map-with-japanese.js | |
// @downloadURL https://gist.githubusercontent.com/caliburn1994/ef993f676111627b9023f02d191c5d13/raw/google-map-with-japanese.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
console.log('Redirecting Google Map') | |
var url = new URL(window.location.href) | |
url.searchParams.set('hl', 'ja'); | |
window.location.replace(url.href); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment