勝手に独り読書会 - その07

mathiasbynens 先生著の .osx - 勝手に課題書すみません の 7 回目?

何か,自身に関わりないと一気に興味/関心を失う質で,
実はそろそろ,も,いかな,な感じもあったり,なかったり,あったりします.

なのでガッと行きます.
最終回にしたい.

###############################################################################
# Mac App Store                                                               #
###############################################################################

# Enable the WebKit Developer Tools in the Mac App Store
defaults write com.apple.appstore WebKitDeveloperExtras -bool true
### 無; app store での webkit developer tools (Webインスペクタ)
### -> true (アクティブにする)

# Enable Debug Menu in the Mac App Store
defaults write com.apple.appstore ShowDebugMenu -bool true
### 無; app store での debug menu
### -> true (表示する)

###############################################################################
# Google Chrome & Google Chrome Canary                                        #
###############################################################################
# Allow installing user scripts via GitHub or Userscripts.org
defaults write com.google.Chrome ExtensionInstallSources -array "https://*.github.com/*" "http://userscripts.org/*"
defaults write com.google.Chrome.canary ExtensionInstallSources -array "https://*.github.com/*" "http://userscripts.org/*"
### 無; スクリプトのインストールブロック
### -> github,userscript は回避

###############################################################################
# SizeUp.app                                                                  #
###############################################################################
### (すべて略,アプリの使用自身ない)

# Start SizeUp at login
defaults write com.irradiatedsoftware.SizeUp StartAtLogin -bool true

# Don’t show the preferences window on next start
defaults write com.irradiatedsoftware.SizeUp ShowPrefsOnNextStart -bool false

###############################################################################
# Transmission.app                                                            #
###############################################################################
### (すべて略,アプリの使用自身ない)

# Use `~/Documents/Torrents` to store incomplete downloads
defaults write org.m0k.transmission UseIncompleteDownloadFolder -bool true
defaults write org.m0k.transmission IncompleteDownloadFolder -string "${HOME}/Documents/Torrents"

# Don’t prompt for confirmation before downloading
defaults write org.m0k.transmission DownloadAsk -bool false

# Trash original torrent files
defaults write org.m0k.transmission DeleteOriginalTorrent -bool true

# Hide the donate message
defaults write org.m0k.transmission WarningDonate -bool false
# Hide the legal disclaimer
defaults write org.m0k.transmission WarningLegal -bool false

###############################################################################
# Twitter.app                                                                 #
###############################################################################
### (すべて略,アプリの使用自身ない)

# Disable smart quotes as it’s annoying for code tweets
defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false

# Show the app window when clicking the menu icon
defaults write com.twitter.twitter-mac MenuItemBehavior -int 1

# Enable the hidden ‘Develop’ menu
defaults write com.twitter.twitter-mac ShowDevelopMenu -bool true

# Open links in the background
defaults write com.twitter.twitter-mac openLinksInBackground -bool true

# Allow closing the ‘new tweet’ window by pressing `Esc`
defaults write com.twitter.twitter-mac ESCClosesComposeWindow -bool true

# Show full names rather than Twitter handles
defaults write com.twitter.twitter-mac ShowFullNames -bool true

# Hide the app in the background if it’s not the front-most window
defaults write com.twitter.twitter-mac HideInBackground -bool true

###############################################################################
# Kill affected applications                                                  #
###############################################################################

for app in "Address Book" "Calendar" "Contacts" "Dashboard" "Dock" "Finder" \
        "Mail" "Safari" "SizeUp" "SystemUIServer" "Terminal" "Transmission" \
        "Twitter" "iCal" "iTunes"; do
        killall "$app" > /dev/null 2>&1
        done
        echo "Done. Note that some of these changes require a logout/restart to take effect."

あ,終わっちゃった...

追記.

Allow installing user scripts via GitHub or Userscripts.org

# Allow installing user scripts via GitHub or Userscripts.org
defaults write com.google.Chrome ExtensionInstallSources -array "https://*.github.com/*" "http://userscripts.org/*"
defaults write com.google.Chrome.canary ExtensionInstallSources -array "https://*.github.com/*" "http://userscripts.org/*"

これがよく分からないんですの.

やっていることはわかります,なんとなく.
拡張機能のインストールは,とある version から Chrome ウェブストアからのみに仕様が変わって,
そのブロックを回避する方法のひとつとして ExtentionInstallSources に,許可させるサイトを定義しておく.

ということみたいなのですが.

ユーザースクリプト ってのは何?

なんか,こことか目を通すと,これにより何やら便利な機能を追加できるみたいな感じのものみたい.

でさっき,"ユーザースクリプト" のみをキーに探してみたら,
Greasemonkey がどうのとか,ガッとでてきて,あぁなんとなく雰囲気はわかった.

Mozilla Firefox以外のブラウザと互換性のあるユーザーサイドスクリプトは一般的には「ユーザースクリプト」と呼ばれます。

そういうことみたいですね.

にしても,
殆どのサイトは,"好きなユーザースクリプトを追加できる" って言うけど,
何も知らん人間にとっては,その追加するユーザースクリプトが何のためにあって,何ができるのか,が分からないのに,
そこについて触れてくれない.

と逆切れ.(恥

知らない方があれだよな.
自分の知らないところで,世の中は進化し続けている.それを知らない自分.あぁ orz

と言うことで,今日はおしまい.

次回は,ちょっと今回の作業を通して,自分なりに付け加えたい設定などをメモしておきたいと思います.
今日はつかれた.