Instantly share code, notes, and snippets.
Griever Griever
This file contains hidden or 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
スマホ表示の確認メモ
iPhone, Galaxy などの有名端末と Kindle や Android の端末・ブラウザで表示が違う
〇=自動スクロールあり
×ばつ=「次へ >」のリンク
Windows(DevTool)
Chrome
iPhone 〇
Galaxy 〇
This file contains hidden or 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
javascript:/*Text-Replace*/(function(){
var data = [
{
before: 'Griever',
after : '┐( ́ー`)┌',
},
{
before: 'Opera',
after : '<span style="font-size:30pt; color:red;">Opera</span>',
This file contains hidden or 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 NewTabPageDial
// @description Speed dial by about:newtab
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @compatibility Firefox 21
// @charset UTF-8
// @include main
// @version 0.0.1
Griever
/ LinkDragSelectionForChrome.user.js
Created
February 21, 2013 14:47
Chrome で Opera 風のリンクテキストの選択を再現するスクリプト
This file contains hidden or 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 LinkDragSelectionForChrome
// @description Opera like link selection for chrome.
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @match http://*/*
// @match https://*/*
// @version 0.0.1
// ==/UserScript==
This file contains hidden or 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 UCSS
// @description reload usercss
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @compatibility Firefox 18
// @charset UTF-8
// @include main
// @version Beta 1
Griever
/ fastforward.uc.js
Created
December 23, 2012 09:10
This file contains hidden or 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 fastforward.uc.js
// @namespace http://d.hatena.ne.jp/Griever/
// @include main
// @compatibility Firefox 4.0
// @charset UTF-8
// @license MIT License
// @version 0.0.1
// @note 昔作ったものが埋もれていたので公開
// ==/UserScript==
Griever
/ reload_userChrome_and_userContent.uc.js
Created
December 23, 2012 09:03
This file contains hidden or 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 reload_userChrome_and_userContent.uc.js
// @description ┐( ́ー`)┌
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @compatibility Firefox 17
// @charset UTF-8
// @include main
// @version 0.0.1
Griever
/ _readme.txt
Last active
October 13, 2015 06:27
plugins.click_to_play でブロックした YouTube の埋め込み動画にサムネイルをつける
This file contains hidden or 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
clicktoplay.xml を chrome フォルダに保存。
Stylish で使う場合はフルパスに直すこと。
Griever
/ ClickToPlayMenu.uc.js
Created
July 18, 2012 07:56
plugins.click_to_play でブロックしたプラグインを常に再生するメニューを作る
This file contains hidden or 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
javascript:/*Zenkaku-Hankaku*/(function(doc){
var zen = /[\u3000\uFFE5\uFF01-\uFF5E]/g;
var arr = ['contains(.,"\u3000")','contains(.,"\uFFE5")'];
for (var i = 0xFF01; i < 0xFF5E; ++i) {
arr.push('contains(.,"' + String.fromCharCode(i) + '")');
}
var xpath = '//text()[(' + arr.join(' or ') + ') and not(ancestor::style) and not(ancestor::script)]';
NewerOlder