Supercharge Your Innovation With Domain-Expert AI Agents!

Method capable of calling different browser objects

A browser and application object technology, applied in the browser field, can solve the problems of huge workload, inconvenience, limited expansion ability, etc., achieve the effect of calling each other conveniently, saving steps and time

Inactive Publication Date: 2009-04-15
SHENYANG JINDING ELECTRONICS DIGITAL FAMILY TECH
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] As can be seen from the above, embedded browsers (such as iPanel or Opera) are very suitable for the application of consumer electronics products, but because the expansion capabilities of these consumer electronics products using embedded browsers such as iPanel and Opera are limited, it is difficult to meet The demand for value-added services, so it is necessary to use smart terminals to solve the problem of application expansion
When using browsers such as IE to browse web pages originally written for browsers such as iPanel and Opera, because browsers such as IE do not have built-in objects in browsers such as iPanel and Opera, errors will occur.
For the normal operation of browsers such as IE, it is necessary to modify the codes in browsers such as iPanel and Opera, which will have a very large workload, so it is very inconvenient to use this method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method capable of calling different browser objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Now Microsoft Internet Explorer is used as the browser, and Microsoft VisualBasic 6.0 is used as the development language. However, the present invention is not limited to this browser and development language. The present invention is also applicable to other browsers and development languages.

[0031] 1. Create an object:

[0032] a) Create an ActiveX control project and name the project Rtime; write a user control and name the user control KDT;

[0033] The method of writing user controls is described as follows:

[0034] Private Declare Sub OutputDebugString Lib″kernel32″Alias

[0035] ”OutputDebugStringA”(ByVal lpOutputString As String)

[0036] sub OutputPrint(Message as string)

[0037] OutputDebugString "Debug:" & Message

[0038] end sub

[0039] b) Compile the ActiveX control into Rtime.ocx; use Rtime.ocx as an object for the page to call.

[0040] 2. The browser calls the standard method to load the webpage:

[0041] a) Create a new project with VB6.0 and name i...

Embodiment 2

[0075] Now Microsoft Internet Explorer is used as the browser, and Microsoft VisualBasic 6.0 is used as the development language. However, the present invention is not limited to this browser and development language. The present invention is also applicable to other browsers and development languages.

[0076] 1. Create a function:

[0077] a) Use a text editor to write the following script:

[0078]

[0079] function KDT()

[0080] {

[0081] this.debug=function(strtxt)

[0082] {alert(strtxt); return;}

[0083] }

[0084]

[0085] b) Save the above script as KDT.js for the page to call.

[0086] 2. The browser calls the standard method to load the webpage:

[0087] a) Create a new project with VB6.0 and name it InsObj;

[0088] b) Reference components Microsoft HTML Object Library and Microsoft Internet Controls.

[0089] c) Draw the WebBrowser control in the form;

[0090] d) Call the Navigate or Navigate2 method of the WebBrowser control to load the web page; for ex...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the browser technology, in particular relates to a method for calling different browser objects, and is characterized in that the method comprises the following steps: 1) an object, a function or a variable are established; 2) a web page is loaded by a browser; 3) an event is raised in the process of loading the web page, and the object, the function or the variable are inserted in the process of generation of the event; 4) the web page is completely loaded and the object, the function or the variable are applied. After the step (3) of the invention is completed, an error processing mechanism can be established; error information generated in the web page operation can be intercepted and is processed by calling a customizing method. The method of the invention does not need to modify the web page script written by the browser, thus different browsers can call objects mutually, the steps and time for modifying the web page script written by the browser are saved, and the objects in different browsers are convenient to be called mutually.

Description

Technical field [0001] The present invention belongs to browser technology, and particularly relates to a method for invoking different browser objects. Background technique [0002] At present, with the advent of the era of 3C integration, more and more consumer electronic products have browser applications. At present, many products such as digital TV set-top boxes, IPTV set-top boxes, digital TV all-in-ones and mobile phones have been supported Browser application. [0003] Due to the low CPU processing power of consumer electronic products, the memory capacity is limited. Some features such as low power consumption make the IE browser and Firefox browser, which are very popular on the PC, unable to be directly used in consumer electronic products. Therefore, embedded browsers for consumer electronic products have appeared. [0004] Currently, there are mainly the following types of embedded browsers: [0005] 1. iPanel embedded browser: [0006] The iPanel embedded browser ha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 田园
Owner SHENYANG JINDING ELECTRONICS DIGITAL FAMILY TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More