topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday May 4, 2024, 12:23 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1] 2 3 4 5 6 ... 10next
1
General Software Discussion / Re: ChameleonNavigator
« Last post by sembel on June 16, 2006, 02:44 AM »
I'm using BeforeNavigate2. I hope it helps you:

Code: C++ [Select]
  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. }
2
General Software Discussion / Re: ChameleonNavigator
« Last post by sembel on June 15, 2006, 11:19 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 ;)
3
General Software Discussion / Re: ChameleonNavigator
« Last post by sembel on June 15, 2006, 11:08 AM »
thanks jammo!
4
General Software Discussion / Re: ChameleonNavigator
« Last post by sembel on June 09, 2006, 08:36 AM »
thank you, mouser!
you are right, the cookie option would be useful too.
5
General Software Discussion / ChameleonNavigator
« Last post by sembel on June 08, 2006, 11:18 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 ;)



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!
6
hi AbteriX,

If I copy something while OO is open, CLCL won't copy, until I close the OO. I saw other people have the same problem. Maybe OO has some bug. Anyway, it's time to check Ditto  ;)
7
I belive CLCL is very cool program  :Thmbsup:  (I used it for 3 years or so), but I noticed CLCL has problem with OpenOffice.org  :(
8
Mini-Reviews by Members / Re: PageSpy - A swiss army knife for web-developers
« Last post by sembel on March 20, 2006, 07:27 AM »
hi Carol,
I use external.menuArguments (IE feature) .
I'm not familiar with Mozilla's XUL and I need learn it first.

P.S.
If Mozilla gets 50% of the market, then I learn it anyway ;)


9
Mini-Reviews by Members / Re: PageSpy - A swiss army knife for web-developers
« Last post by sembel on March 19, 2006, 09:02 AM »
Hello DC-Community!

Thank you JoTo for the nice minireview  :Thmbsup:

The same program for another browser is not easy task for me. Maybe in the future, but I can not promise.

best regards,
Victor Sembelidis
Pages: [1] 2 3 4 5 6 ... 10next