請安裝「封鎖內容農場」或「終結內容農場」,當您不小心連結到內容農場時,將會出現警告頁面避免繼續閱讀。
進一步在 Google 搜尋結果中排除內容農場,建議安裝「uBlacklist」,並將「內容農場」網站清單匯入,之後就再也不會出現在搜尋結果了。
建議封鎖清單
| const MY_DOMAIN = "agodrich.com" | |
| const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
| const DISQUS_SHORTNAME = "agodrich" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", |
請安裝「封鎖內容農場」或「終結內容農場」,當您不小心連結到內容農場時,將會出現警告頁面避免繼續閱讀。
進一步在 Google 搜尋結果中排除內容農場,建議安裝「uBlacklist」,並將「內容農場」網站清單匯入,之後就再也不會出現在搜尋結果了。
建議封鎖清單
| # opening and closing windows and popovers | |
| defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
| # smooth scrolling | |
| defaults write -g NSScrollAnimationEnabled -bool false | |
| # showing and hiding sheets, resizing preference windows, zooming windows | |
| # float 0 doesn't work | |
| defaults write -g NSWindowResizeTime -float 0.001 |
| main() { | |
| # Use colors, but only if connected to a terminal, and that terminal | |
| # supports them. | |
| if which tput >/dev/null 2>&1; then | |
| ncolors=$(tput colors) | |
| fi | |
| if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
| RED="$(tput setaf 1)" | |
| GREEN="$(tput setaf 2)" | |
| YELLOW="$(tput setaf 3)" |