Thank you for this awesome post. Your story is the story of SO many people. You have made great progress, but are you free now? Where are you today in this vitally important journey? Tell us please so we can suggest to you what the next step might me...
Once you have made this extremely important decision to give your wife the code, you really should have a stronger filter than one that can be opened with a code. That would also solve your problem of finding loopholes the whole time. Often, the yetzer hara will tell you that you are looking for loopholes to block them, when in reality he just wants you to see bad stuff again... We suggest for people in this situation to get a white-list filter, not a black-list type. And it should be server based, not just client based. And on top of all that, only your wife should have the password (to be able to make changes at the server level - by phone). To understand the terms better (blacklist, server based etc...), see
here. To learn more about what is available for the Jewish community today - see
here. If you MUST have black-list filters because you need open internet for your work, at least install
accountability software. When you know that someone you respect will see every site you visited, it will help you control the urge to stray.
We commend you on your progress on sharing your story so honestly. However, never trust yourself. Here are some more steps that will help you achieve full sobriety:
1) Join the daily Chizuk e-mail list on our site. Like drops of water on Rabbi Akiva's rock, over time, the e-mails can make a serious impression.
2) Read one or two of the tips on the website every day and try to implement them if possible. (Don't read too many at once; bite too much and you won't be able to swallow anything).
3) Join the weekly hotline on
www.guardureyes.com. Group support is very important, and this hotline is the first time that religious people can get the benefit of group support and trained therapists in an anonymous way! The counselors on the phone are trained, (religious) and they "get it". And you can probably also find a "sponsor" in the group for accountability and help when you're feeling weak.
May G-d be with you, and never stop praying!