topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • March 25, 2019, 10:55 PM
  • Proudly celebrating 13 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sembel [ switch to compact view ]

Pages: [1]
1
General Software Discussion / Re: ChameleonNavigator
« 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
« 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
« on: June 15, 2006, 11:08 AM »
thanks jammo!

4
General Software Discussion / Re: ChameleonNavigator
« 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
« 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
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
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]