Restricting a BHO
-
I have a Browser Helper Object that contains code I want to execute after a user logs into my website and only after logging into my website. What is the best way to start the code execution? I have thought of creating a hidden field named "start" on the web page and setting the field value to some unique string. Then searching for that field and testing the for the known value. Is there a cleaner solution. Thank you in advance for your suggestions.
-
I have a Browser Helper Object that contains code I want to execute after a user logs into my website and only after logging into my website. What is the best way to start the code execution? I have thought of creating a hidden field named "start" on the web page and setting the field value to some unique string. Then searching for that field and testing the for the known value. Is there a cleaner solution. Thank you in advance for your suggestions.
Well, you could just hook the browser events (onload,ondocumentcomplete,ect..) and then check the current document location before doing whatever you need to do.
-
Well, you could just hook the browser events (onload,ondocumentcomplete,ect..) and then check the current document location before doing whatever you need to do.
Yes but if I did that my url would need to be hardcoded. I have a product that I will be marketing and as a result mey be host on a variety of web sites. I guess I could create a hidden field and set the value to some string like: {2F94BC6A-9E91-4010-B991-EA0E22F9FED4} and test for it. But I was hoping there would be a cleaner solution.