Need software to block access to certain websites at night

OK. I'm going to admit it. I've got a shopping compulsion that's somewhat out of control when I get tired at night.
Anyone have suggestions for software or another method to block access, ideally to just forms, or just certain websites, between certain times? I know if I'm the admin I'd be able to get around it, but it would help stop me from buying when I'm not awake enough to make good decisions.
I'm thinking a children's filter would work, but none of them seem to go more specific than turning off the internet entirely between certain times, and that's a bit too broad. In any case, I'm pretty sure I could script just turning off the Airport link for a time if that's what I really wanted.
Any suggestions for scripting the Airport config or other site lookup files (the ones that say ebay.com -> this address), perhaps? That would keep me from getting on with the iPhone too.
Thanks, and
Aym

AymR wrote:
Maybe I just need to make my own scripts... I know if I'm the admin I'd be able to get around it, but it would help...
You might try the script below. It works by looping through a predefined list of text items, comparing each item to the URL of the frontmost Safari document. When a match is found, the frontmost document is replaced by a blank page. A dialog then appears informing you that you've attempted to reach a prohibited web site.
The script below should be copied and pasted into your AppleScript Script Editor. From the Editor's File menu choose Save As > File Format: application. Be sure to check Stay Open under Options. Once saved, the script can be launched from the dock or desktop, or launched as part of a repeating iCal event, with iCal's alarm feature set to open the script file at a certain time each day. Once running, the script can be stopped at any time by selecting its docked icon and choosing Quit from the menu.
+The script:+
*property prohibited_list : {"ebay.com", "amazon.com", "shopping.yahoo.com"} --> add or remove items as desired*
*on idle*
*tell application "System Events"*
*if exists application process "Safari" then*
try
*tell application "Safari"*
*set x to URL of front document*
*set y to every character of x as text*
*repeat with an_item in prohibited_list*
*if an_item is in y then*
*set the URL of front document to ""*
*tell application "System Events"*
activate
*display dialog "You have attempted to access a prohibited web site." with icon stop buttons ("OK") default button 1 giving up after 10*
*end tell*
*tell application "Safari" to activate*
*end if*
*end repeat*
*end tell*
*end try*
*end if*
*end tell*
*return 5*
*end idle*
Good luck.
+The script was tested in Mac OS 10.4.11. Leopard and Snow Leopard users' results may vary.+

Similar Messages

  • Internet blocking access to certain websites and M...

    I had BT Infinity installed about 3 weeks ago and since then iMessage on my iPod has worked at random times, getting a 'Message Could Not Be Delivered' which was annoying, but as of today I can't use Windows Live Messenger on either my iPod or Laptop, the same goes for visiting hotmail.com and probably other websites that I'm yet to notice.
    I'm assuming it has to be something wrong with the hub otherwise I wouldn't get the same problem with both my Laptop and iPod. The only thing I found online was that it could be something to do with the Hub's MTU settings but there doesn't seem to be a way to change them and that doesn't seem like it would be the case anyway.
    Changed wireless channels, factory resetting the hub and everything I can think of.

    See http://community.bt.com/t5/Other-BB-Queries/Issues​-with-MSN-Live-Messenger-and-Hotmail-com-on-BT/m-p​...
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Does iPad/apple block access to some websites without my permission?

    Does iPad/apple block access to some websites without my permission?

    There is in fact no native ability in iOS to block specific web sites. All you can do is turn off Safari completely.
    As the others have suggested, either those sites are not compatible with the browser in iOS (being based on Flash or Java, or using Microsoft-proprietary components that work only in Internet Explorer, for instance), or your Internet connection is blocking the sites.
    Regards.

  • I AM NOT IN QUEBEC BROWSER SAYS I AM. THEREFORE I CAN'T ACCESS TO CERTAIN WEBSITE

    I live in Toronto but When I access to certain website such as urbanoutfitters, clubmonaco.ca
    I can't access to those
    it says
    Due to the Charter of the French Language, we are unable to offer our website to the province of Quebec, at this time.
    please!! help

    I too am in Toronto, and have no problem accessing the sites you mention.
    What is your location shown as in System Preferences / Date and Time / Time Zone?

  • Safari 6.0.5 crashes when accessing a certain website.

    Hi
    Safari 6.0.5 on my IMAC crashes everytime I try and load a certain website.  Can anybody help me with this? 

    Any resolve to this?? I have Safari 6.1.1 it keeps crashing when I try to access one particular website www.sportbeatfest.com I have tried Safari reset, trashed the cache as advised on another thread but it still completely freezes my Imac and I have to power off and restart. I need to access this site for some work related stuff.
    Anyone got any ideas? It also doesnt work on my Iphone!
    Cheers

  • Why does firefox keep blocking access to social websites like facebook etc????

    any time i try to go on any social website i get this msg :
    Web Page Blocked
    Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.
    User: 10.150.46.8
    URL: www.taggedmail.com/new_invites.html?ect=by6lqzxg_fid=663B91D2D7B5A27B_al=sRaB9KH0z_md.1je2Y4.52mvph_tn=bWVzc2FnZXNfbmV3LTEtMy0xLTc=_linkId=new_invites_link_2
    Category: social-networking
    Click here to login
    this msg happens with any social network i go on so why is this happening????????????

    thats not true becuz this didnt start happening til i downloaded firefox becuz when i was using internet explorer i didnt have one problem but then i download firefox and i get blocked msgs

  • Using .htaccess file to block access from certain networks

    Does anybody have any tips on getting a .htaccess file to work to block access to my Web Access server from certain network ranges on SuSE 10 SP3 with GW 8.0.2.
    It does seem like the file does anything? With Web Access I'm not exactly sure where to put the file. I used to accomplish this using iptables, but I was seeing if I could do the same with .htaccess.
    Thanks!

    Originally Posted by bbilut
    Does anybody have any tips on getting a .htaccess file to work to block access to my Web Access server from certain network ranges on SuSE 10 SP3 with GW 8.0.2.
    It does seem like the file does anything? With Web Access I'm not exactly sure where to put the file. I used to accomplish this using iptables, but I was seeing if I could do the same with .htaccess.
    Thanks!
    You can block a range with the .htaccess file, for example by defining the range as
    Code:
    order allow,deny
    deny from 10.0.
    allow from all
    ...that would block all 10.0.0.0 upto 10.0.255.255 addresses
    You cannot use this file in tomcat, so useless I think... but as Apache is used as frontend for the tomcat webacc application and you might be able to edit the gw conf apache files to include the range denies (which by default can be found in /etc/opt/novell/groupwise/webaccess/gw.conf).
    Maybe this thread might help as there are some examples in howto include denies in the .conf files.
    Deny IP Ranges in httpd.conf Apache Web Server forum at WebmasterWorld
    Do make a backup of you current gw.conf in case it blows up :)
    -Willem

  • I need to know if there is a user name and password associated with accessing a certain website.

    I'm not sure if at one time there was a username and password given so that I automatically could access a site. The site is the home page for my department on the intranet of the company I work for, and they've activated a new vpn. If I use Safari, after activating the vpn opening Safari, it asks me for a user name and password for some proxy server and from there on out I can navegate the external web or the company intranet. Using Firefox, I do not get prompted for a user name and password but I cannot access my homepage yahoo.com or any public website; I can, however access my company's intranet. The IT guy says there must be some user name & pw to access the site that I've previously asked Firefox to memorize but which I can't see. I don't think so but I can't figure out where to find the list of sites that Firefox has memorized passwords for.

    You ca n look in the Password Manager.
    *Firefox > Preferences > Security: Passwords: "Saved Passwords" > "Show Passwords"
    *https://support.mozilla.com/kb/make-firefox-remember-usernames-and-passwords

  • How do I restrict access to certain websites in Firefox?

    I need to restrict the below website that maybe a virus. It keeps making itself my homepage and loading as a trusted site even though I never set it up. It did the same thing in Internet Explorer browser. However, there I was able to restrict access. How do I want to restrict access in Firefox?
    http://search.bearshare.net/

    '''[https://addons.mozilla.org/en-US/firefox/addon/blocksite/ BlockSite]''' {web link}
    BlockSite is an extension, which automagically blocks websites
    of your choice. Additionally, this extension will disable all
    hyperlinks to these websites, by just displaying the link text
    without the clicking functionality.
    edit: cleaned up link

  • How can I stop Firefox from blocking content on certain websites?

    I have a website that I use for school, and everytime I log on there is content on a page that is blocked. To unblock it, I have to click on the shield drop down menu and click allow so it can display the content. But this is time consuming because it sends me back to the homepage of that class and I have to go through a series of links once again to reach the content once more. Is there anyway that I can add this website to a specific list of do not block, because between that and pop-ups constantly being blocked, it's very hard to get anything done. Thank you for any help you can provide.

    Thank you for an utterly useless response.

  • Firefox staying offline on certain websites

    When my internet briefly disconnects and reconnects while firefox is open, firefox suddenly refuses to load certain websites, those websites (if its any help) are facebook, yahoo mail, and any google search page. These happen to be pages i access alot so im not sure if its related.
    But with other pages they work normally through an internet loss and reconnection.
    Basically it just loads on and on and on (however not as if the page is loading, the green circle on the tab remains grey forever) the only way to fix this is to restart firefox (very annoying since i tend to work in several tabs located within multiple windows)
    This has persisted through several new profiles, firefox reinstalls, and even through Windows reinstalls, so please dont suggest that.
    I dont have any antivirus running or any firewall blocking access to certain websites or anything, so this is just so weird.

    Hello,
    Try refreshing the page with '''Ctrl+F5''' so that it doesn't pull from your cache. Also, you can try clearing your cache with:
    * History (or [[Image: New Fx Menu]] > History) > Clear Recent History
    * Select the categories you want to clear
    Or you can clear your cache in:
    * Tools (or [[Image: New Fx Menu]]) > Options > Advanced > Network
    * In the Cached Web Content section, Clear Now
    And try accessing the pages again. See the article [[How to clear the Firefox cache]] for more information.
    You also have a lot of extensions which could be causing the issue. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes). If the pages work after the internet reconnects in safe mode, an extension is likely the culprit, in that case please see the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article.
    Potentially unrelated to your problem, but things that should improve your browsing experience: It could be your user agent switcher causing your user agent to show Firefox version 28, but please update to the latest Firefox (version 32.0.3).
    Also, I noticed that you have two version of Flash installed - having multiple versions of the same plugin can cause issues. You can uninstall them using this tool:
    * http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    And reinstall Shockwave Flash v15.0.0.152 here: http://get.adobe.com/shockwave/

  • Cannot access certain websites on any web browser

    Recently, for the last month or two, my mac won't let me look at certain websites. (i.e apple.com, hulu.com, some yahoo.com sites.) Cannot find a solution on any forums yet that work for me. The internet works fine on the other computers in the house and I can access those sites with no problems. I have snow leopard on my Macmini, and I tried reinstalling it and the websites worked ONE time, then if I closed the browser the sites would come up with the error, cannot connect to the internet. Or in the case of the Hulu site, show text only with no formatting. I also tried reinstalling Java, and it did the same thing, would let me see the website once and then not again. Not sure what else I can try. Does anyone have any suggestions? Is there some update i have not installed yet that does not come up in my updates? Thanks for all help.

    Same for me, started with Facebook on all browsers (FF, Chrome, Safari)a month or two from now, and today twitter and this very support.apple.com + some software like ClamXav cannot connect anymore to update their database, etc.
    In VirtualBox with Ubuntu and VMWare Fusion Win XP : both with FF, same problem, same websites / IP
    _It is neither the router nor the DNS_ since my wife's computer works fine on the same network with all those websites and apps (PowerPC 10.5.8)
    _It is not the firewall either_ on or off, it does not change a thing.
    So far, I managed to make it all work (even apps like ClamXav) by using Vidalia TOR + Tor add-on on FF || Tor Browser (Safari under Namaroka) works great too.
    Tor makes browsing a little bit slower and anonymity can have its drawbacks, so it is not a long-term solution.
    So for those in need of a quick access to their websites :
    www.torproject.org > Download > Tor Browser Bundle for OS X Intel
    Now, why is that it works with Tor and not without ?
    What to do to solve the situation ?
    TIA for any help !
    Jc.

  • Block access to website!

    I'm trying to block access to some websites from the server in our office, is that possible?!, i mean which service under Mac OS 10.5 can do this job!
    thank you

    It depends on your network architecture and you haven't provided sufficient information to answer the question directly. It isn't even clear if you mean you want to stop this machine from accessing the sites, or whether you want to use this machine to block access from other clients on the network.
    I'll assume the latter for now, but please feel free to elaborate.
    In general, your server can only block traffic if it's running a service that your clients depend on.
    If your server is a file server, or a directory server, or even a web server, then you're out of luck because the clients don't depend on this server to get to the sites you want to block.
    On the other hand, if the server is running as a gateway then you can block it in the firewall.
    If the server is running as a DNS server you could block the traffic in DNS (return a bogus IP address for the sites you want to block.
    If the server is running as a proxy you could configure the proxy server rules to block the sites.
    So, as you can see, there are many ways it could work depending on your setup. Even if you're not setup appropriately right now, you could still do this if you're willing to reconfigure your network - for example if you opt to take the proxy server route you'd need to configure the clients to use the server as a proxy. Likewise, if you take the DNS route you'll need to configure the clients to use this server for DNS.

  • Why cant I access 1 particular website unless I bypass my RV082?

    I'm not very saavy on these matters but here's my story. I was able to access a certain website thru my router up until Jan 4th. Since then , the only way to do so is by connecting directly to my modem and bypassing  my router. I have  3 computers on my network and ,depending on which browser I use I get different error messages..i.e..connection has been reset; cannot find website or it may be down etc . Things I have tried (or have had others try). Access site from DMZ on router; disabled firewall;cloned address; tried accessing from hotshield;rebooted router (did NOT  do hard reset by pushing button on router);Im assuming that if I can access site hooking directly to modem that the computers themselves are not an issue and the problem is either with the site or the router. Someone mentioned that if you try to access a site from different computers at the same time on the same address they may block your MAC address..not sure if this is true. I contacted Cisco support but being the router is over 2 years old they cant give me any support even if I offer to pay for it.They said something about tracing packets or checking internal logs but thats way above me at this point unless someone held my hand. As I said Im not really saavy at this but I can follow EXPLICIT instructions. Any thoughts about where to go from here greatly appreciated..john

    I cant access my itunes store anymore for some reason on my windows 7 laptop.
    Can't connect to the iTunes Store
    Since you can't sync your iPhone or connect to the iTunes Store on your computer, could be your security software or the Firewall.
    iTunes for Windows: Troubleshooting security software issues

  • How can i make firefox not load images from certain websites permanantly

    I am unable to block images on certain websites permanently. However, I can block images temporarily for a session through Option > Content > Load images automatically but whenever i clean the browser history or close down firefox the customized list that i entered disappear and i am back to square and again manually enter websites one by one and the same thing happens again.

    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions
    In case you are using "Clear history when Firefox closes":
    *do not clear the "Site Preferences"
    *Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

Maybe you are looking for