twebbrowser disable javascript delphi 2005

Posted on 2006-05-17
Last Modified: 2010-04-05
Hi i use delphi 2005 and i would like disable javascript on navigate, i try to install package but dont works in delphi 2005, any other idea please help me.
Question by:paginafacil
    1 Comment
    LVL 28

    Accepted Solution

    that link is telling you how to install the activex controls. you don't need to do this in newer delphi versions (it is done automatically). though, if you want to use a newer version of the IE activex control you will have to import it.
    getting to your problem: since the twebrowser is a wrapper over the IE activex control, you will have to disable javascript from IE by means of using the registry: a quick search gave the following example:
    of course you can find more detailed and better explained resources on the net if you need them.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now