Welcome Guest.   Make a donation to an author on the site April 19, 2014, 05:13:11 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: ChameleonNavigator  (Read 4529 times)
sembel
Honorary Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« on: June 08, 2006, 11:18:57 PM »

Hello everybody!

I did a small freeware utility for the web content testing depended on user settings (browser name, accepted languages and referrer).
The application uses the IE engine, but on the server it will be identified as Netscape, Opera, Firefox, Google bot or anything you want.
If the server sends different content, you will see it. Also you can easy check content depended on user language or referrer.

Some features like Javascript, ActiveX, Images etc. you can quick enable/disable.

For me it works fine, but still beta, because it's without help file and maybe with some bugs Wink



The program is without installation.

ChameleonNavigator.exe: ~760 Kb
http://www.sembel.net/download/ChameleonNavigator.exe

Flash presentation: ~595 Kb
http://www.sembel.net/temp/ChameleonNavigatorHelp.chm


Any comment will be appreciated!
Logged
mouser
First Author
Administrator
*****
Posts: 32,674



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: June 08, 2006, 11:43:02 PM »

very nice idea!!!  thumbs up thumbs up thumbs up
Logged
mouser
First Author
Administrator
*****
Posts: 32,674



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: June 08, 2006, 11:44:03 PM »

option to disable cookies might be nice to add as well.
Logged
sembel
Honorary Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« Reply #3 on: June 09, 2006, 08:36:29 AM »

thank you, mouser!
you are right, the cookie option would be useful too.
Logged
Jammo the OrganizedFellow
Supporting Member
**
Posts: 212


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: June 15, 2006, 10:52:32 AM »

The other day, I completely rewrote a few pages of my site, which uses ExpressionEngine.

I did all my testing in FireFox 1.5.0.4.
I totally failed to make sure my pages rendered fine in MSIE.
So this utility will allow me to make sure there are no further mishaps. smiley

Thank You!  Thmbsup

*EDIT*
Installed. Ran. Very useful!
Why not have latest engine for FireFox?
This way, testing doesn't have to be switched between two apps? smiley
« Last Edit: June 15, 2006, 10:57:41 AM by jammo » Logged

As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____
sembel
Honorary Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« Reply #5 on: June 15, 2006, 11:08:35 AM »

thanks jammo!
Logged
sembel
Honorary Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« Reply #6 on: June 15, 2006, 11:19:36 AM »

Because my aim was emulation (browser name, accepted languages and referrer) for the server and I didn't think about client rendering. Also with IE engine much easier Wink
Logged
quantumrider
Charter Member
***
Posts: 18


View Profile Give some DonationCredits to this forum member
« Reply #7 on: June 16, 2006, 02:27:26 AM »

Is t written it in c++? If so, any chance you could post the information on how the user agent string can be changed while using IE engine?

I need that badly!


-ark
Logged

sembel
Honorary Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« Reply #8 on: June 16, 2006, 02:44:13 AM »

I'm using BeforeNavigate2. I hope it helps you:

Formatted for C++ with the GeSHI Syntax Highlighter [copy or print]
  1. void CMyView::BeforeNavigate2(LPDISPATCH pDisp, VARIANT* URL,
  2. VARIANT* Flags, VARIANT* TargetFrameName,
  3. VARIANT* PostData, VARIANT* Headers, VARIANT_BOOL* Cancel)
  4. {
  5. IWebBrowser2*   pWB = NULL;
  6. HRESULT hr = pDisp->QueryInterface( IID_IWebBrowser2, (void**)&pWB );
  7. if(SUCCEEDED(hr))
  8. {
  9. CString csHeaders(V_BSTR(Headers));
  10. CString csURL(V_BSTR(URL));
  11. if(csHeaders.Find("User-Agent")==-1 && csURL.Find("about:blank")==-1)
  12. {
  13. pWB->Stop();
  14.  
  15. CString strHeader = "" ;
  16. strHeader += "User-Agent:";  
  17. strHeader += "HERE MY NAME";  
  18. strHeader += "\r\n";  
  19. COleVariant vHeaders(_T(strHeader), VT_BSTR );
  20. pWB->Navigate2(URL, Flags, NULL, PostData, vHeaders);  
  21. }
  22. else
  23. {
  24. CHtmlView::BeforeNavigate2(pDisp, URL, Flags, TargetFrameName, PostData, Headers, Cancel);
  25. }
  26. pWB->Release();
  27. }
  28. }
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.05s | Server load: 0.11 ]