Method and apparatus for processing documents in a browser
AssigneeInternational Business Machines Corporation
InventorRichard Dale Hoffman
Life of this patent
Estimating the term…
Abstract
A method and apparatus in a computer for processing a document retrieved from a server connected to the computer by a communications link. A document is retrieved from the server over the communications link. The document is parsed. A determination is made as to whether a command to open a window is present within the document. The window is opened selectively based on a setting.
Claims27
A method in a computer for processing a document retrieved from a server connected to the computer by a communications link, the method comprising the data processing system implemented steps of:
- prior to retrieving documents from the server, storing a setting in the computer, the setting being used when any document is received for display;
- retrieving a document from the server over the communications link;
- parsing the document;
- determining whether a command to open a window is present within the document;
- determining whether the setting indicates that new windows may be opened during the display of the document, wherein new windows are prohibited from being opened during the display of the document in response to the setting indicating that new windows may not be opened during the display of the document even though a command to open a window may be present within a document;
- in response to a determination that the setting indicates that new windows may be opened during the display of the document, selectively opening the window based on a second setting associated with the command.
A method in a computer for processing a web page, the method comprising the computer implemented steps of:
- receiving, within a browser, the web page;
- processing, by the browser, the web page for display;
- prior to displaying the web page in a first window, determining, by the browser, whether an instruction to open a second window is present in the web page;
- responsive to a presence of an instruction to open a second window, prior to displaying the web page in the first window, determining, utilizing the browser, whether a setting indicates that new windows may be created during the display of the web page, wherein new windows are prohibited from being created during the display of the web page in response to the setting indicating that new windows may not be created during the display of the web page even though an instruction to open a second window is present within a web page;
- responsive to a determination by the browser that the setting indicates that new windows may be created, creating the second window;
- and
- responsive to a determination by the browser that the setting indicates that new windows may not be created, prohibiting creation of the second window.
A method in a browser used in a computer for processing HTML web pages, the method comprising:
- prior to receiving a web page for display in a web page window, prompting, utilizing the browser, a user to enter a preference of whether or not new windows may be created while web pages are displayed by the browser in web page windows;
- storing the preference within the browser;
- wherein the preference is used for any web page that is received by the browser for display;
- receiving the web page for display by the browser;
- processing the web page utilizing the browser for display within the web page window;
- prior to displaying the web page, determining utilizing the browser, whether an instruction to create a new window is present in the web page;
- in response to a determination that the web page includes the instruction, determining whether the preference indicates that new windows may be created during a display of the web page in the web page window,
- in response to a determination that the preference indicates that new windows may be created during a display of the web page in the web page window, creating the new window while the web page is displayed;
- and
- in response to a determination that the preference indicates that new windows may not be created during a display of the web page in the web page window, prohibiting a creation of the new window even though an instruction to create a new window is present within a web page.
A data processing system for processing a document retrieved from a server connected to the computer by a communications link, the data processing system comprising:
- storing means for storing a setting in the computer prior to retrieving documents from the server, the setting being used when any document is received for display;
- retrieving means for retrieving a document from the server over the communications link;
- parsing means for parsing the document;
- determination means for determining whether a command to open a window is present within the document;
- determining means for determining whether said setting indicates that new windows may be opened during the display of the document, wherein new windows are prohibited from being opened during the display of the document in response to the setting indicating that new windows may not be opened during the display of the document even though a command to open a window may be present within a document;
- in response to a determination that the setting indicates that new windows may be opened during the display of the document, opening means for selectively opening the window based on a second setting associated with the command.
A data processing system for processing a web page, the data processing system comprising:
- a browser for receiving the web page;
- the browser for processing the web page for display;
- the browser for determining, prior to displaying the web page in a first window, whether an instruction to open a second window is present in the web page;
- the browser, responsive to a presence of an instruction to open a second window, for determining whether a setting indicates that new windows may be created during the display of the web page, wherein new windows are prohibited from being created during the display of the web page in response to the setting indicating that new windows may not be created during the display of the web page;
- the browser, responsive to a determination that the setting indicates that new windows may be created, for creating the second window;
- and
- the browser, responsive to a determination that the setting indicates that new windows may not be created, prohibiting creation of the second window even though an instruction to open a second window is present within a web page.
A data processing system in a browser used in a computer for processing HTML web pages, the data processing system comprising:
- the browser for prompting a user, prior to receiving a web page for display in a web page window, to enter a preference of whether or not new windows may be created while web pages are displayed by the browser in web page windows;
- the preference being stored in the browser;
- the preference being used for any web page that is received by the browser for display;
- receiving means for receiving the web page for display by the browser;
- processing means for processing the web page utilizing the browser for display within the web page window;
- the browser for determining, prior to displaying the web page, whether an instruction to create a new window is present in the web page;
- in response to a determination that the web page includes the instruction, the browser, prior to displaying the web page, for determining whether the preference indicates that new windows may be created during a display of the web page in the web page window;
- in response to a determination that the preference indicates that new windows may be created during a display of the web page in the web page window, the browser for creating the new window;
- and
- in response to a determination that the preference indicates that new windows may not be created during a display of the web page in the web page window, the browser for prohibiting a creation of the new window even though an instruction to open a new window is present within a web page.
A computer program product in a computer readable medium for processing a document retrieved from a server connected to the computer by a communications link, the computer program product comprising:
- instructions, prior to retrieving documents from the server, for storing a setting in the computer, the setting being used when any document is received for display;
- instructions for retrieving a document from the server over the communications link;
- instructions for parsing the document;
- instructions for determining whether a command to open a window is present within the document;
- instructions for determining whether said setting indicates that new windows may be opened during the display of the document, wherein new windows are prohibited from being opened during the display of the document in response to the setting indicating that new windows may not be opened during the display of the document even though a command to open a window may be present within a document;
- in response to a determination that the setting indicates that new windows may be opened during the display of the document, instructions for selectively opening the window based on a second setting associated with the command.
A computer program product in a computer readable medium for processing a web page, the computer program product comprising:
- instructions for receiving the web page within a browser;
- instructions for processing the web page for display within the browser;
- instructions for, prior to displaying the web page in a first window, determining, by the browser, whether an instruction to open a second window is present in the web page;
- instructions, responsive to a presence of an instruction to open a second window, for determining, utilizing the browser, whether a setting indicates that new windows may be created during the display of the web page, wherein new windows are prohibited from being created during the display of the web page in response to the setting indicating that new windows may not be created during the display of the web page;
- instructions, responsive to a determination, by the browser, that the setting indicates that new windows may be created, for creating the second window;
- and
- instructions, responsive to a determination by the browser that the setting indicates that new windows may not be created, for prohibiting creation of the second window even though an instruction to open a second window is present within a web page.
A computer program product in a computer readable medium in a browser used in a computer for processing HTML web pages, the computer program product comprising:
- instructions, prior to receiving a web page for display in a web page window, for prompting, utilizing the browser, a user to enter a preference of whether or not new windows may be created while web pages are displayed by the browser in web page windows;
- instructions for storing the preference within the browser;
- wherein the preference is used for any web page that is received by the browser for display;
- instructions for receiving the web page for display by the browser;
- instructions for processing the web page utilizing the browser for display within the web page window;
- instructions, prior to displaying the web page, for determining utilizing the browser, whether an instruction to create a new window is present in the web page;
- in response to a determination that the web page includes the instruction, instructions for determining whether the preference indicates that new windows may be created during a display of the web page in the web page window;
- in response to a determination that the preference indicates that new windows may be created during a display of the web page in the web page window, instructions for creating the new window;
- and
- in response to a determination that the preference indicates that new windows may not be created during a display of the web page in the web page window, instructions for prohibiting a creation of the new window.
Dependencies are inferred from the claim text.