HTML APIs


  1. The plug-in DLL can’t contain ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The plug-in DLL should contain FileExtents which specifies file extensions, ProductName which is for plug-in name, Language for the language which is in use, FileDescription for the description, MIMEType for the MIME types, FileOpenName for file open template.


  1. Which of the following is not a transmission mode that plug-in can select?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    There are three transmission modes that plug-in can select. In normal mode browser sends stream data sequentially to plug-in, in Random-access mode browser allows a plug-in to request specific ranges of bytes from anywhere in the stream. In File, mode browser saves data to a local file in cache and passes the file path to plug-in.



  1. Which method is used for sending data to URL from memory buffer?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    For sending data to URL from file or a memory buffer we used NPN_PostURL. The result obtains from a server can also be sent to a particular browser window or frame for display, or delivered to a plug-in instance in the new stream.


  1. Which of the following request is used for the browser to load a URL?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    NPN_GetURL is a request for the browser to load a URL into a particular frame for display or browser window, or for delivering data of that URL to the plug-in instance in a new stream. NPN_PostURLNotify function notifies plug-in of a result when an operation completes.



  1. Which function helps in identifying compatibility of plug-in and browser?











  1. View Hint View Answer Discuss in Forum

    None of these

    Correct Option: C

    For determining whether plug-in and browser versions are compatible or not we use NPN_Version method It also provides alternative processing for different versions. For checking changes in major and minor version numbers it can also be used.