US10521106B2ActiveUtilityA1

Smart element filtering method via gestures

84
Assignee: IBMPriority: Jun 27, 2017Filed: Jun 27, 2017Granted: Dec 31, 2019
Est. expiryJun 27, 2037(~11 yrs left)· nominal 20-yr term from priority
G06F 3/04883G06F 3/017G06F 3/04845G06F 16/957G06F 8/34G06F 17/2247G06F 40/14G06F 40/143
84
PatentIndex Score
5
Cited by
94
References
13
Claims

Abstract

A method, computer system, and a computer program product for filtering at least one element. The present invention may include receiving a user gesture. The present invention may also include determining a requested action based on the received user gesture. The present invention may then include filtering at least one element associated with a webpage based on the determined requested action. The present invention may further include rendering a modified webpage based on the filtered at least one element.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A computer system for filtering at least one element, comprising:
 one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: 
 receiving a user gesture, wherein the received user gesture is a press gesture; 
 determining a requested action based on the received user gesture, wherein the determined requested action is identifying that the pressed portion of a Document Object Model (DOM) tree structure is a photograph followed by a text box; 
 filtering at least one element associated with a webpage based on the determined requested action; and 
 rendering a modified webpage based on the filtered at least one element. 
 
     
     
       2. The computer system of  claim 1 , further comprising:
 obtaining a plurality of source code associated with the webpage from a browser; and 
 generating a Document Object Model (DOM) tree based on the obtained plurality of source code. 
 
     
     
       3. The computer system of  claim 2 , further comprising:
 determining that the received user gesture was a press gesture; 
 identifying a portion of the generated DOM tree affected by the determined press gesture, wherein the identified portion of the generated DOM tree affected by the determined press gesture is adjusted based on a user's pressure; and 
 storing the identified portion of the generated DOM tree in temporary memory. 
 
     
     
       4. The computer system of  claim 3 , further comprising:
 receiving a second user gesture; 
 determining that the second user gesture was a shake gesture; and 
 generating a modified DOM tree eliminating the at least one unwanted element from the generated DOM tree which is not stored in temporary memory or determined to be equivalent to the at least one unwanted element stored in temporary memory based on a predefined filtering category based on determining the second gesture was a shake. 
 
     
     
       5. The computer system of  claim 4 , wherein the modified webpage is based on the modified DOM tree. 
     
     
       6. The computer system of  claim 5 , further comprising:
 receiving a third user gesture; 
 determining that the third user gesture was a return gesture; and 
 deleting the identified portion of the DOM tree from temporary memory based on determining the third gesture was a return gesture. 
 
     
     
       7. The computer system of  claim 6 , wherein the predefined filtering category is selected from the group consisting of a shape category, an attribute category and a filtering level category. 
     
     
       8. A computer program product for filtering at least one element, comprising:
 one or more computer-readable storage medium and program instructions stored on at least one of the one or more tangible storage medium, the program instructions executable by a processor, the program instructions comprising: 
 program instructions to receive a user gesture, wherein the received user gesture is a press gesture; 
 program instructions to determine a requested action based on the received user gesture wherein the determined requested action is identifying that the pressed portion of a Document Object Model (DOM) tree structure is a photograph followed by a text box; 
 program instructions to filter at least one element associated with a webpage based on the determined requested action; and 
 program instructions to render a modified webpage based on the filtered at least one element. 
 
     
     
       9. The computer program product of  claim 8 , further comprising:
 program instructions to obtain a plurality of source code associated with the webpage from a browser; and 
 program instructions to generate a Document Object Model (DOM) tree based on the obtained plurality of source code. 
 
     
     
       10. The computer program product of  claim 9 , further comprising:
 program instructions to determine that the received user gesture was a press gesture; 
 program instructions to identify a portion of the generated DOM tree affected by the determined press gesture, wherein the identified portion of the generated DOM tree affected by the determined press gesture is adjusted based on a user's pressure; and 
 program instructions to store the identified portion of the generated DOM tree in temporary memory. 
 
     
     
       11. The computer program product of  claim 10 , further comprising:
 program instructions to receive a second user gesture; 
 program instructions to determine that the second user gesture was a shake gesture; and 
 program instructions to generate a modified DOM tree eliminating the at least one unwanted element from the generated DOM tree which is not stored in temporary memory or determined to be equivalent to the at least one unwanted element stored in temporary memory based on a predefined filtering category based on determining the second gesture was a shake. 
 
     
     
       12. The computer program product of  claim 11 , wherein the modified webpage is based on the modified DOM tree. 
     
     
       13. The computer program product of  claim 12 , further comprising:
 program instructions to receive a third user gesture; 
 program instructions to determine that the third user gesture was a return gesture; and 
 program instructions to delete the identified portion of the DOM tree from temporary memory based on determining the third gesture was a return gesture.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.