CN103678399A - Method and system for extending browser features - Google Patents
Method and system for extending browser features Download PDFInfo
- Publication number
- CN103678399A CN103678399A CN201210355067.8A CN201210355067A CN103678399A CN 103678399 A CN103678399 A CN 103678399A CN 201210355067 A CN201210355067 A CN 201210355067A CN 103678399 A CN103678399 A CN 103678399A
- Authority
- CN
- China
- Prior art keywords
- label
- browser
- definition
- layout area
- expansion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003745 diagnosis Methods 0.000 claims abstract description 29
- 238000000151 deposition Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012905 input function Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9562—Bookmark management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention belongs to the technical field of browsers and particularly relates to a method and a system for extending browser features. The method for extending the browser features includes that a label of a browser is defined or added; the browser is analyzed to the defined or added label, and a configuration zone corresponding to the label is reserved on a webpage; an established input window is configured on the configuration zone by the browser, and a terminal performs operations through the input window. According to the method and the system for extending the browser features, the browser label is defined or added so as to enable the browser to extend hypertext markup language (HTML) standards, the webpage can be allowed to use new features which are not supported by current HTML standards, such as safe input, network diagnosis and zone file saving in addition.
Description
Technical field
The invention belongs to browser technology field, relate in particular to a kind of method of expanding browser feature and
System.
Background technology
HTML (Hypertext Markup Language), i.e. HTML(Hypertext Markup Language), be for describing a kind of markup language of web document.HTML carrys out the various piece in webpage that mark will show by label symbol.Web page files itself is a kind of text, by add marker character in text, can tell how browser shows content wherein, as: how word is processed, and how picture arranges, and how picture shows etc.
Development along with Internet technology, browser need to be supported increasing characteristic and function, during existing browser extension characteristic, conventionally by plug-in unit, realizes, thereby cause, needs the plug-in unit loading to get more and more, browser volume is increasing, has reduced the speed of browser execution.
Summary of the invention
The invention provides a kind of method and system of expanding browser feature, be intended to solve prior art browser and by plug-in extension characteristic, reduced the problem of the speed of browser execution.
The present invention is achieved in that a kind of method of expanding browser feature, comprising:
The label of definition or interpolation browser;
Browser resolves, to the label of definition or interpolation, reserves the layout area of corresponding label on webpage;
Browser is put the input window of establishment in layout area, and terminal operates by input window.
The technical scheme of another embodiment that the present invention takes is: a kind of system of expanding browser feature, comprise label definition module, label parsing module and the window module of arranging, and described label definition module is for defining or add the label of browser; Described label parsing module is used for the browser label of resolving definition or adding, and on webpage, reserves the layout area of corresponding label; Described window is arranged module for the input window of establishment is put to layout area, and terminal operates by input window.
The technical scheme tool of the embodiment of the present invention has the following advantages or beneficial effect: the method and system of the expansion browser feature of the embodiment of the present invention are by defining or adding browser label, by defining or adding browser label, make browser extension HTML standard, the new features that allow webpage to use current HTML standard not yet to support, such as: safe input, network diagnosis and regional document are separately deposited etc.; In addition, the resource by label extended attribute outside can occupying volume, has improved the travelling speed of browser.。
accompanying drawing explanation
Accompanying drawing 1 is the process flow diagram of method of the expansion browser feature of first embodiment of the invention;
Accompanying drawing 2 is process flow diagrams of method of the expansion browser feature of second embodiment of the invention;
Accompanying drawing 3 is structural representations of system of the expansion browser feature of first embodiment of the invention;
Accompanying drawing 4 is structural representations of system of the expansion browser feature of second embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, is the process flow diagram of method of the expansion browser feature of first embodiment of the invention.The method of the expansion browser feature of first embodiment of the invention comprises the following steps:
Step 100: the safe input label of definition browser, wherein, by the safe input label of definition browser, support safe input function;
In step 100, safe input label is for mark input dialogue frame, with the user area at input dialogue frame, controls many group demonstration information.The safe input label of browser definition is <safeedit>, certainly, be appreciated that the method in the expansion browser feature of first embodiment of the invention, also safe input label can be defined as to other titles and form.In the present invention, safe input label can be realized by method, the windows expansion method of (Window.external) or the method for self-defined computer script language (JavaScript, JS) of customized label.
Step 110: browser resolves, to safe input label, reserves the layout area of safe input label definition on webpage;
In step 110, the layout area that reserves safe input label definition on webpage can change according to user's demand, and for example layout area can be positioned at top or other positions of browser.
Step 120: browser is set to the input window of establishment in layout area, and user terminal is inputted by input window.
In step 120, input window self can prevent that third party software from injecting, also can mask outside and take windows content by windows message simultaneously, only have the value attribute providing by safe input label <safeedit> just can take the content of user's input, arrive the object of safety input, particularly, it can be by using " safeedit.value " or " safeedit.getAttribute (' value ') " order to obtain the content of user's input in JS.
Referring to Fig. 2, is the process flow diagram of method of the expansion browser feature of second embodiment of the invention.The method of the expansion browser feature of second embodiment of the invention comprises the following steps:
Step 200: definition or add browser label, wherein, definition or the browser label adding comprise that safe input label, network diagnosis label and region right button separately deposit label;
In step 200, safe input label by definition browser is supported safe input function, the safe input label of browser definition is <safeedit>, certainly, be appreciated that, method in the expansion browser feature of first embodiment of the invention, also can be defined as other titles and form by safe input label, the network diagnosis label adding is <networkdiagnostic> label, be appreciated that, method in the expansion browser feature of first embodiment of the invention, also network diagnosis label can be defined as to other titles and form, it is <save> label that the browser area right button of definition is separately deposited label, by <save> label, carry out the more fine-grained function that saves as, it not only can support separately to deposit the function that whole webpages save as file, and can support area right button save as the function of file.At this, safe input label, network diagnosis label and right button are separately deposited label and all can be realized by the method for customized label, (Window.external) method of windows expansion or the method for self-defined computer script language (JavaScript, JS).
Step 210: browser resolves label, and the type of the label that is resolved to of judgement, if the label being resolved to is safe input label, enter step 220, if the label being resolved to is network diagnosis label, enter step 240, if the label being resolved to is region right button, separately deposit label, enter step 260;
Step 220: the layout area that reserves safe input label definition on webpage;
In step 220, the layout area that reserves safe input label definition on webpage can change according to user's demand.
Step 230: browser is put the input window of establishment in layout area, and user inputs by input window.
In step 230, input window self can prevent that third party software from injecting, also can mask outside and take windows content by windows message simultaneously, only have the value attribute providing by safe input label <safeedit> just can take the content of user's input, arrive the object of safety input.
Step 240: the layout area that reserves the definition of network diagnosis label on webpage;
In step 240, the layout area that reserves the definition of network diagnosis label on webpage can change according to user's demand, and for example layout area can be positioned at top or other positions of browser.
Step 250: obtain the network setup information of browser place terminal, be presented at the layout area of network diagnosis label appointment;
In step 250, obtain after the network setup information of browser place terminal and also comprise the network setup information of obtaining is formatd, then the network setup information after format is presented to the layout area of network diagnosis label appointment.
Step 260: reserve the layout area that region right button is separately deposited label definition on webpage;
In step 260, on webpage, reserve region right button and separately deposit the layout area of label definition and can change according to user's demand.
Step 270: layout area that user separately deposits label definition at region right button detected and carry out right button while separately depositing, eject and save as FileDialog, storage area right button is separately deposited the information in the layout area of label definition.
In another embodiment of the present invention, definition or the browser label adding can also comprise the labels such as screenshotss, local prompting, and webpage development personnel and user, by the type of judgement browser label, just can be convenient to use the new features of browser.
Referring to Fig. 3, is the structural representation of system of the expansion browser feature of first embodiment of the invention.The system of the expansion browser feature of first embodiment of the invention comprises label definition module, label parsing module and the window module of arranging.The safe input label of label definition module definition browser, wherein, supports safe input function by the safe input label of definition browser.The safe input label of label definition module definition is <safeedit>, certainly, be appreciated that in the system of the expansion browser feature of first embodiment of the invention, also safe input label can be defined as to other titles and form.Label parsing module is for resolving the safe input label of label definition module definition, after being resolved to safe input label, on webpage, reserve the layout area of safe input label definition, wherein, the layout area that reserves safe input label definition on webpage can change according to user's demand.The window module of arranging is put the input window of establishment in layout area, and user inputs by input window.Input window self can prevent that third party software from injecting, also can mask outside and take windows content by windows message simultaneously, only have the value attribute providing by safe input label <safeedit> just can take the content of user's input, arrive the object of safety input.
Referring to Fig. 4, is the structural representation of system of the expansion browser feature of second embodiment of the invention.The system of the expansion browser feature of second embodiment of the invention comprises label definition module, label parsing module, window arrange module, network setup information acquisition module and the another storing module of file.
Label definition module is for definition or add browser label, and wherein, definition or the browser label adding comprise that safe input label, network diagnosis label and region right button separately deposit label; Safe input label by definition browser is supported safe input function, and the safe input label of label definition module definition is <safeedit>; The network diagnosis label adding is <networkdiagnostic> label, it is <save> label that the browser area right button of definition is separately deposited label, by <save> label, carry out the more fine-grained function that saves as, it not only can support separately to deposit the function that whole webpages save as file, and can support area right button saves as the function of file.In another embodiment of the present invention, definition or the browser label adding can also comprise the labels such as screenshotss, local prompting, and webpage development personnel and user, by the type of judgement browser label, just can be convenient to use the new features of browser.
Label parsing module is for resolving the label of label definition module definition, and the type of the label that is resolved to of judgement, if the label being resolved to is safe input label, on webpage, reserve the layout area of safe input label definition, if the label being resolved to is network diagnosis label, on webpage, reserve the layout area of network diagnosis label definition, if the label being resolved to is region right button, separately deposit label, on webpage, reserve the layout area that region right button is separately deposited label definition.
The window module of arranging is put the input window of establishment in layout area, and user inputs by input window.Input window self can prevent that third party software from injecting, also can mask outside and take windows content by windows message simultaneously, only have the value attribute providing by safe input label <safeedit> just can take the content of user's input, arrive the object of safety input.
Network setup information acquisition module is for obtaining the network setup information of browser place terminal, be presented at the layout area of network diagnosis label appointment, in addition, network setup information acquisition module is also for the network setup information of obtaining browser place terminal is formatd, then the network setup information after format is presented to the layout area of network diagnosis label appointment.
The another storing module of file carries out right button while separately depositing for detection of the layout area of separately depositing label definition at region right button to user, ejects and saves as FileDialog, and storage area right button is separately deposited the information in the layout area of label definition.
The method and system of the expansion browser feature of the embodiment of the present invention can make browser extension HTML standard by defining or adding browser label, the characteristic that allows webpage to use current HTML standard not yet to support, such as: safe input, network diagnosis or regional document are separately deposited etc. function; In addition, the resource by label extended attribute outside can occupying volume, has improved the travelling speed of browser.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (14)
1. a method of expanding browser feature, comprising:
The label of definition or interpolation browser;
Browser resolves, to the label of definition or interpolation, reserves the layout area of corresponding label on webpage;
Browser is set to the input window of establishment in described layout area, and terminal operates by described input window.
2. the method for expansion browser feature according to claim 1, is characterized in that, the browser label of described definition or interpolation comprises that safe input label, network diagnosis label and region right button separately deposit label.
3. the method for expansion browser feature according to claim 2, it is characterized in that, described browser resolves also comprises after the label step of definition: the type of the label that judgement is resolved to, if the label being resolved to is safe input label, on webpage, reserve the layout area of safe input label definition; If the label being resolved to is network diagnosis label, on webpage, reserve the layout area of network diagnosis label definition; If the label being resolved to is region right button, separately deposit label, on webpage, reserve the layout area that region right button is separately deposited label definition.
4. according to the method for the expansion browser feature described in claim 2 or 3, it is characterized in that, described in also comprise after being resolved to network diagnosis label step: obtain the network setup information of browser place terminal, be presented at the layout area of network diagnosis label appointment.
5. the method for expansion browser feature according to claim 4, it is characterized in that, after the described network setup information step of obtaining browser place terminal, also comprise: the network setup information of obtaining is formatd, then the network setup information after format is presented to the layout area of network diagnosis label appointment.
6. according to the method for the expansion browser feature described in claim 2 or 3, it is characterized in that, described being resolved to after region right button is separately deposited label step also comprises: layout area that user separately deposits label definition at region right button detected and carry out right button while separately depositing, ejection saves as FileDialog, and storage area right button is separately deposited the information in the layout area of label definition.
7. the method for expansion browser feature according to claim 1, is characterized in that, the label of described definition or interpolation browser is that the method by customized label, the method for windows expansion or the method for self-defined computer script language realize.
8. a system of expanding browser feature, comprising:
Label definition module, for defining or add the label of browser;
Label parsing module for resolving the browser label of definition or interpolation, and reserves the layout area of corresponding label on webpage;
The window module of arranging, for the input window of establishment is put to described layout area, terminal operates by described input window.
9. the system of expansion browser feature according to claim 8, is characterized in that, the definition of described label definition module or the browser label adding comprise that safe input label, network diagnosis label and region right button separately deposit label.
10. the system of expansion browser feature according to claim 9, it is characterized in that, described label parsing module is also for judging the type of the label being resolved to, if the label being resolved to is safe input label, on webpage, reserve the layout area of safe input label definition, if the label being resolved to is network diagnosis label, on webpage, reserve the layout area of network diagnosis label definition, if the label being resolved to is region right button, separately deposit label, on webpage, reserve the layout area that region right button is separately deposited label definition.
11. according to the system of the expansion browser feature described in claim 9 or 10, it is characterized in that, also comprise network setup information acquisition module, described network setup information acquisition module, for obtaining the network setup information of browser place terminal, is presented at the layout area of network diagnosis label appointment.
The system of 12. expansion browser feature according to claim 11, it is characterized in that, described network setup information acquisition module is also for the network setup information of obtaining browser place terminal is formatd, then the network setup information after format is presented to the layout area of network diagnosis label appointment.
13. according to the system of the expansion browser feature described in claim 9 or 10, it is characterized in that, also comprise the another storing module of file, the another storing module of described file carries out right button while separately depositing for detection of the layout area of separately depositing label definition at region right button to user, ejection saves as FileDialog, and storage area right button is separately deposited the information in the layout area of label definition.
The method of 14. expansion browser feature according to claim 8, it is characterized in that, described label definition module is defined or is added the label of browser by method, the method for windows expansion or the method for self-defined computer script language of customized label.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210355067.8A CN103678399B (en) | 2012-09-21 | 2012-09-21 | A kind of method and system of extension browser feature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210355067.8A CN103678399B (en) | 2012-09-21 | 2012-09-21 | A kind of method and system of extension browser feature |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103678399A true CN103678399A (en) | 2014-03-26 |
CN103678399B CN103678399B (en) | 2018-09-07 |
Family
ID=50315980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210355067.8A Active CN103678399B (en) | 2012-09-21 | 2012-09-21 | A kind of method and system of extension browser feature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103678399B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464886A (en) * | 2008-12-19 | 2009-06-24 | 上海全景数字技术有限公司 | HTML label and attribute expansion method based on built-in browser |
US7661071B2 (en) * | 2006-07-14 | 2010-02-09 | Microsoft Corporation | Creation of three-dimensional user interface |
CN102012906A (en) * | 2010-10-27 | 2011-04-13 | 南京聚社数字科技有限公司 | Three-dimensional scene management platform based on SaaS architecture and editing and browsing method |
CN102469065A (en) * | 2010-11-02 | 2012-05-23 | 腾讯科技(深圳)有限公司 | Method and system for communicating data with HTML5 browser |
-
2012
- 2012-09-21 CN CN201210355067.8A patent/CN103678399B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7661071B2 (en) * | 2006-07-14 | 2010-02-09 | Microsoft Corporation | Creation of three-dimensional user interface |
CN101464886A (en) * | 2008-12-19 | 2009-06-24 | 上海全景数字技术有限公司 | HTML label and attribute expansion method based on built-in browser |
CN102012906A (en) * | 2010-10-27 | 2011-04-13 | 南京聚社数字科技有限公司 | Three-dimensional scene management platform based on SaaS architecture and editing and browsing method |
CN102469065A (en) * | 2010-11-02 | 2012-05-23 | 腾讯科技(深圳)有限公司 | Method and system for communicating data with HTML5 browser |
Non-Patent Citations (2)
Title |
---|
李婷: "《校园BBS舆情分析系统的设计与实现》", 《中国优秀硕士论文全文数据库 信息科技辑》 * |
陈博: "《HTML5 对搜索引擎网页信息检索的影响》", 《图书情报工作》 * |
Also Published As
Publication number | Publication date |
---|---|
CN103678399B (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102663126B (en) | Method and device for displaying webpage in mobile terminal | |
EP3518124A1 (en) | Webpage rendering method and related device | |
CN104461484B (en) | The implementation method and device of front-end template | |
JP2014514629A5 (en) | ||
CN103577466B (en) | Method and device for displaying webpage content in browser | |
CN102819561A (en) | Picture display method and device based on webpage | |
US20160283499A1 (en) | Webpage advertisement interception method, device and browser | |
CN104217037B (en) | A kind of method and device for showing webpage in the terminal | |
CN103389968B (en) | A kind of rich text Display Realization method and system | |
KR20150095664A (en) | Appending content with annotation | |
CN103761317A (en) | Multithreading asynchronous rendering system and method | |
CN102622382A (en) | Webpage rearranging method | |
CN106776800B (en) | Page generation method, device and system for AngularJS framework | |
CN103472983A (en) | Method and device for positioning page contents | |
CN103440151A (en) | Method and apparatus for dynamically loading Web page | |
CN103166981A (en) | Wireless webpage transcoding method and device | |
CN104077273A (en) | Method and device for extracting webpage contents | |
CN103135977A (en) | Information-inputting method in browser and device using the same | |
CN102831150B (en) | Browser and local exchange method, system and the terminal applied | |
CN109933751B (en) | Image-text drawing method and device, computer-readable storage medium and computer equipment | |
CN106446116A (en) | Business rule parameter interaction method and business rule parameter interaction device applied to rule engine | |
CN103377212A (en) | Browser and method and system for controlling actions of browser by voices | |
CN104050190B (en) | Method and system for processing relation chain data and client | |
US10628526B2 (en) | Providing suggested diagrammatic representations of user entered textual information | |
CN103488735A (en) | Method and terminal for refreshing and displaying pages of terminal browser |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221207 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |