├── LICENSE ├── README.md ├── banner.png └── src ├── icon128.png ├── icon16.png ├── icon48.png ├── jump.js └── manifest.json /LICENSE: -------------------------------------------------------------------------------- 1 | SGL(Super GOROman License) License 2 | 3 | Copyright (c) 2019 GOROman 4 | 5 | なにしてもいいよ 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # 諸君らが愛してくれたYahoo!ジオシティーズは死んだ!何故だ! 3 | 4 | ## Goodbye Geocities JP 5 | 6 | [![Omikuji](https://omikuji.net/badge.svg?v=1&n=21abc52f)](https://omikuji.net/) 7 | 8 | ### これは何? 9 | 10 | Chrome拡張です。 11 | Yahoo!ジオシティーズ が閉鎖されてしまったので、以下のURLの場合は archive.org へ飛ぶようにします。あらかじめリダイレクト先がある場合はそちらを優先して飛びます。 12 | 13 | - "http://\*.geocities.jp/*" 14 | - "http://\*.geocities.co.jp/*" 15 | - "https://\*.geocities.jp/*" 16 | - "https://\*.geocities.co.jp/*" 17 | 18 | ### インストールのしかた 19 | 20 | Chromeウェブストアからインストール可能です。 21 | 22 | https://chrome.google.com/webstore/detail/goodbye-geocitiesjp/lemfgphjhikbbadomlciomdgchbmaldp 23 | 24 | ### 免責事項 25 | 26 | トラブルなど関与しません。 27 | -------------------------------------------------------------------------------- /banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GOROman/GoodbyeGeocitiesJP/89bdc235db2c39e5afec056d5435e5439fac4f03/banner.png -------------------------------------------------------------------------------- /src/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GOROman/GoodbyeGeocitiesJP/89bdc235db2c39e5afec056d5435e5439fac4f03/src/icon128.png -------------------------------------------------------------------------------- /src/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GOROman/GoodbyeGeocitiesJP/89bdc235db2c39e5afec056d5435e5439fac4f03/src/icon16.png -------------------------------------------------------------------------------- /src/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GOROman/GoodbyeGeocitiesJP/89bdc235db2c39e5afec056d5435e5439fac4f03/src/icon48.png -------------------------------------------------------------------------------- /src/jump.js: -------------------------------------------------------------------------------- 1 | var redirectUrl = document.getElementsByClassName('userpageRedirectUrl'); 2 | 3 | if(redirectUrl.length) 4 | { 5 | var userpageRedirectTitle = document.getElementsByClassName('userpageRedirectTitle'); 6 | setInterval(function () { 7 | if(userpageRedirectTitle){ 8 | userpageRedirectTitle[0].textContent = '移転先へ自動へ飛びます!'; 9 | } 10 | setInterval(function () { 11 | var url = redirectUrl[0].textContent; 12 | // URL書き換える 13 | location.replace(url); 14 | },1000); 15 | },1000); 16 | } else { 17 | 18 | var errorTtlTxt = document.getElementsByClassName('errorTtlTxt'); 19 | if (errorTtlTxt.length) { 20 | setInterval(function () { 21 | var url = "https://web.archive.org/web/"+location.href; 22 | 23 | errorTtlTxt[0].textContent = 'Web Archiveに自動で飛ぶぜ!!'; 24 | var errorInfoTxt = document.getElementsByClassName('errorInfoTxt'); 25 | if (errorInfoTxt) { 26 | errorInfoTxt[0].textContent = url; 27 | } 28 | 29 | setInterval(function () { 30 | // URL書き換える 31 | location.replace(url); 32 | },1000); 33 | },1000); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name": "Goodbye geocities.jp", 4 | "short_name": "Goodbye geocities.jp", 5 | "description": "geocities.jp へのアクセスを archive.org へリダイレクトします", 6 | "version": "0.0.3", 7 | "manifest_version": 2, 8 | "icons": { 9 | "16": "icon16.png", 10 | "48": "icon48.png", 11 | "128": "icon128.png" 12 | }, 13 | "content_scripts": [ 14 | { 15 | "matches": [ 16 | "http://*.geocities.jp/*", 17 | "http://*.geocities.co.jp/*", 18 | "https://*.geocities.jp/*", 19 | "https://*.geocities.co.jp/*" 20 | ], 21 | "js": [ 22 | "jump.js" 23 | ] 24 | } 25 | ] 26 | } --------------------------------------------------------------------------------