Safari 封鎖網站,增加效率 - MAC

Hazel avatar
By Hazel
at 2014-12-30T08:54

Table of Contents


手常常不自覺的按下 facebook, 然後時間就被抓走

也因此,想找一個方式來封鎖這個網站,增加效率

似乎 safari 沒有辦法設定?(若有,可能我沒找到)

但是找到了這個小軟體

http://selfcontrolapp.com

安裝後,可輸入網址、封鎖時間長短

給各位需要自我控制的人參考。也許有更好的方式也說不一定。

[使用心得]

1. 輸入 ptt.cc , 連批踢踢都會被封鎖
2. 設定時間內「無法關閉軟體」,換句話說,你無法藉由關閉小軟體來上封鎖網站
(也因此剛剛等了一陣子,才可以編輯心得)
3. 他的 Q-A 很有趣,有興趣的人可以看看

Q: Are you planning on making a Windows, Linux, or iOS version?

No. But the source code is free and others have.

Try these for Windows:

SelfRestraint - GPL and based on SelfControl
Cold Turkey that a nice guy made and seems to work.
There's also a Linux version:

SelfControl for Linux
iOS is too restricted and the App Store does not allow GPL code -
get mad at them. But if you ask nice and pay him well Simon
Remiszewski might build you one of these.

Q: How do I block a website?

To block Facebook, you would add facebook.com to your block list.
Sometimes websites have different domains for different functions,
and you may need to block all of them to get it working fully.

Q: Are there any other instructions?

Choose Help --> Get Started from the menu bar in SelfControl to
see a quick tutorial. If you want pictures (although outdated),
see this article from TheNextWeb.

Q: How do I disable SelfControl once it has started?

You can't. That's the idea. Just wait.

"But, but but..." you say.

Seriously, chill out. It's not the end of the world.

The timer will run out and the internet will come back again. In
the meantime, you may find comfort in curling up in a ball under
your desk and rocking back and forth for a while.

Q: I deleted the application, will that do anything?

No. (Except maybe cause problems with the block disappearing at
the proper time. Don't do it!)

Q: I did some stuff with the terminal that I read on a cool tech
site, but it didn't work, what do I do now?

We don't know what you did or why you would do follow instructions
found on the internet before reading this FAQ. Lesson learned
right? Good luck!

Q: SelfControl's timer is at 00:00 and I can't start a new block.
And I'm freaking out!!!

Sometimes SelfControl is unable to clear itself. If you're using
SelfControl 2.0, just wait ten seconds at 00:00, and a button
labeled "Stuck? Stop block manually." will replace the "Add to
Blocklist" button." Click it and remove your block manually! You
may need to restart your computer after removing the block
manually to get it working right.

If you are running a pre-2.0 release of SelfControl, follow these
instructions, then upgrade.

Q: I upgraded my Mac while SelfControl was running, and now it's
stuck blocking my websites. HELP ME!

That's not a question, but I'll help you anyway. First, download
the latest version of SelfControl from selfcontrolapp.com
(replacing your older version). Then open it, and the timer should
read 00:00 (assuming the block should be over). Leave that timer
window open for 10 seconds, and the "Add to Blocklist" button will
change to "Stuck? Stop block manually." Use that to remove your
block.

Q: Can I make the block time or intervals longer?

Yes, and you can learn about it here Tweaking Max Block Length and
Block Length Interval.

Q: Other sites I didn't list are getting blocked, why?

We block all sites that run on the same servers as a site on your
block list. For some larger sites, this can be surprising.

Q: The block is over but I still can't access the site or can only
access part of it, how can I fix it?

Try:

Refreshing the page.
Clearing your cache (what does clearing your cache mean?)
Restarting your browser
If that doesn't work, set the timer for 1 minute, do another
block, and try again once the time has expired.

Q: I blocked a website with SelfControl but I can still access the
site, what do I do?

First, try:

Refreshing the page.
Clearing your cache
If that doesn't work, SelfControl blocks websites based on the
machine the site is hosted at, not the actual website address.
Sometimes this won't work that well. Try adding other subdomains
of the website (e.g. new.facebook.com in addition to
facebook.com).

Q: Some websites are looking really weird/ugly after I started
SelfControl! What do I do?

This seems to be an issue with Firefox, mainly. Clear your browser
cache, restart your browser, and your problem should go away.

Q: SelfControl says it is disabled, what do I do?

This is usually because you have nothing on your blocklist and/or
the timer is set to 0.

Q: Can I specify ports instead of web addresses?

Yes. using :port or *:port notation, gives some flexibility. For
example, if you wanted to run torrents and do nothing else, the
following steps might help:

Set as a whitelist
Add an entry for *:6881, or whatever port number your client is
set to use (check your settings).
Add entries for the trackers you use, for example to allow The
Pirate Bay you would add tracker.thepiratebay.org:80.
Add any other things you want to whitelist.
Start! You can use File—> Save to save blocklists for easy
loading later.
Q: Can I save my blacklists and whitelists?

Yes. Under File > Save. Or Command-S. Just like saving everything
else on a mac.

Maybe you could even post the file on your website to share.
Unless it's embarrassing.

Q: Can I run SelfControl from the command-line?

You sure can! Check out Running SelfControl from the Terminal for
details. Advanced users can use the CLI to write scripts that make
SelfControl do what they want.

Q: Can I edit my black/white list once i have started SelfControl?

No. And that's the point, so think before you act.

Q: Can you add ________ feature that is really important to me?

No.

BUT hey, you could do it. This is a free and open source project
and you are welcome to alter the software however you like. Or you
could hire someone to. It might cost less than you expect. We'd
also be interested in seeing your code and incorporating your
possibly awesome ideas so consider forking the project here on
github.
Status API Training Shop Blog About

--
Tags: MAC

All Comments

Rae avatar
By Rae
at 2015-01-03T03:44
是給無法自我控制的人吧,能自我控制就不用軟體了
Madame avatar
By Madame
at 2015-01-04T15:18
連上FB都要軟體控制,自制力也太差XD
Mary avatar
By Mary
at 2015-01-09T02:44
何不乾脆創個工作用使用者帳戶
Hedda avatar
By Hedda
at 2015-01-13T08:56
也有一款簡單的插件叫做WasteNoTime
Genevieve avatar
By Genevieve
at 2015-01-18T03:06
太有趣了
Regina avatar
By Regina
at 2015-01-20T09:09
因為已經在工作了,創建一個使用者帳戶就得重新來過
Cara avatar
By Cara
at 2015-01-20T16:09
使用後讓我變成柯p一樣的高效率 XD

鈴聲一直無法放進手機

Suhail Hany avatar
By Suhail Hany
at 2014-12-30T01:29
請教這邊資深的大大 小弟最近換手機 想要把鈴聲放進去新iPhone裡 不管怎麼樣 始終出現下圖情況 一直無法放成功... http://i.imgur.com/GOb4PTk.jpg 真的非常困擾... 會跟舊手機有關係嗎? 拜託了謝謝!!!!! - ...

開機之登入密碼

Dinah avatar
By Dinah
at 2014-12-30T00:13
手邊的Macbook pro retina 13剛買時候因有設定密碼 所以開機時會先出現蘋果然後把進度條跑完,接著會停在帳號列表那,等待輸入密碼 但最近剛剛重新安裝系統10.10.1,發現現在按下開機時會先出現帳號列表 等輸入密碼後,才會出現白蘋果,然後跑完進度條後直接進入桌面 也就是順序顛倒了,請問 ...

Re: 有沒有辦法讓 Apple 在台灣開直營店?

Kumar avatar
By Kumar
at 2014-12-29T22:01
: 難得看到這討論串討論熱烈,我也回ㄧ下我的經驗好了;) : 本身是八年果粉,以前學生時代打工和後來出社會想轉行都曾有接觸到台灣的經銷,也因 : 為接觸過,所以我必須很直白的說,臺灣的狀況真的是亂七八糟什麼鬼經銷商和銷售員都 : 有。 : 首先,蘋果在台灣的經銷有以下幾個: : 高等級經銷商 - SA、DE等 ...

電源線破損可以繼續使用嗎?

Lucy avatar
By Lucy
at 2014-12-29T21:44
各位好 想請問大家有沒有一樣的狀況發生 我目前使用的是2012年出產的MBA 電源還是舊式的側邊吸的 不知道是之前出國很常帶來帶去 還是這個舊版的電源線很不耐操 使用一年後常常接觸不良,後來接了延長線(三孔插頭)狀況才比較好 而且使用兩年到現在電源線至少有十處破損 之前小的破洞都用電線膠帶捆一綑 但剛剛看 ...

新自然輸入法快捷鍵與Endnote相抵觸。

Sandy avatar
By Sandy
at 2014-12-29T21:23
各位好, 因為寫作論文之需,安裝了Endnote,但在使用word時,發現我使用的輸入法(新自然), 叫出符號表(control+7)的快捷鍵與Endnote的快捷鍵重疊,因此符號表一直無法順 利使用,因此想請問各位,要如何排除,亦或是去哪裡更改相關快捷鍵的設定(我找不到 )?謝謝大家。 - ...