How to search any text (not just CSS selector) in Inspector (in Developer Tools)?

I want to search any text in the inspector, like Chrome Developer Tools does. How can I do this?

This is not likely to be possible in the general case, depending on what you mean by "searching text"
For instance, a Word doc might have the text "Hello, world!" when viewed in Word, but that doesn't mean that the sequence of characters 'H', 'e', 'l', 'l', 'o', etc., exists in the file. There might be one letter, then some binary data indicating that the next letter is some other font or color, then one more letter, then more binary data, etc.
Conversely, there could be textual metadata in a "binary" file that a person reading the file in the appropriate viewer would never see. Unless you know the details of the format you're reading, you won't be able to distinguish that from "real text".
And what do you mean "strings" is not efficient? Have you tried it? Does it do what you want? Did you measure and determine that it does not meet your well-defined performance requirements? It's unlikely you'll be able to write code that does the same thing as "strings" but more "efficiently."
The first step is to put more realistic boundaries on your requirements and define them more precisely. "Extract text from any binary file," is not a valid, meaningful, or reasonable requirement.
EDIT: I may have misunderstood your requirements. I thought you wanted to "extract all text" from binary files. If that's not what you meant, and you're looking more to replicate grep, then follow Joachim's advice.
Edited by: jverd on Mar 29, 2010 1:33 PM

Similar Messages

  • How to search specific text/string in pdf files from command prompt?

    Hi,
    How to search specific text/string in pdf files from command prompt?
    Will be great if you can refer to any adobe provided command base utility to achieve the above target.
    Best Regards,

    You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.

  • How to search any user while raising a request in OIM 11g

    Hello,
    In OIM 11g request access screen, How to search any user while trying to raise a request for access ?
    Currently when I login to OIM 11g with my id then I can search only my subordinates not all the users present in OIM.
    I know this comes by default with OIM 9.1.0.2, not sure any configuration changes required for OIM 11g ?
    Pls help me if you have any information on that.
    Thanks!!

    Thanks Rajiv, I did as you told .
    I created new Authorization Policy name called "Test Policy"
    Entity Name: User Management
    Permission Name: Search User
    Data Constraints: All Users
    Assign By Role: ALL USERS
    After that when I login as a end user and click search, It does not serach for any users.
    Could you pls pls let me know if i am missing anything or anything wrong?
    Thansk again.

  • How can I simply send audio messages via text, not just to people who have iphones, even basic Nokia phones allow this function? Am I missing something here? IPHONE 6

    How do I on IPHONE 6 have audio message option not just have the option it seems for other people with Iphones. Even Nokia phones have this very BASIC function/? Also how can you BULK DELETE Emails, I get hundreds of junk ones per day, and simply want to go, Select ALL or SELECT ALL READ and then press DELETE ONCE not hundreds of times????

    No, basic Nokia phones do not, and have never had a function to easily send audio messages universally. SMS is a carrier feature and uses a very basic transfer mechanism and works only for short, 160-character messages. Through software, some phones later allowed you to type longer messages that the device then broke up seamlessly and sent as multiple SMS messages. MMS is another carrier service developed to be able to transport multimedia like audio and pictures. Again, very basic transfer and usually slow and low quality. Both of these are again, operator services. Your iPhone can send those messages to non-iPhone users using standard carrier services.
    On the other hand, your iPhone Messages app uses your iPhone data plan - not unlike your home Internet service - to transfer audio, video and images through Apple's iMessage service. Other services exist that do something similar - WhatsApp for example - which also requires both the sender and recipient to use their app for the service to work.
    As for email, Meg is correct. Your email provider is the first line of defense against spam. You should adjust your filters. That said, iOS Mail app had a delete all function, but not in places where it can do more harm than good - i.e. the Inbox. It is present only in the Junk and Trash folders where, presumably, your email provider or you have already been through some decision making process and deemed those emails acceptable to be deleted en masse.

  • How to search a text in text area?

    Hi All,
    I want to search a text in the text area and it should be like searching by the Find Dialog Box with upward direction or downward direction with case sensitive option.
    I know searching text in a file. But I dont know how to search in the above manner.
    PLz help me.
    Thanx in advance.
    regards

    Ok, starting from the code you sent, I can help with the below code:
       private void findText() {
          // your searching stuff here...
       }Regards.

  • How to read any text files using file adapter as it is

    Hi,
    I need to build bpel process to read any text files as it is.I am file adapter and using opaque schema.But input file is coming as base64encoding format.But i need the input as it is.How can i do that.
    Is there any sample schema to read input text files as it is?

    in java embedding activity i need to remove all newlines from my input text file.During this process i am getting arryindexoutofbounds exception.Below is my code
    String input = (String)getVariableData("inputFileStr");
    Base64Decoder Decoder = new Base64Decoder();
    try
    String decoded = Base64Decoder.decode(input); --exception is coming at this line
    setVariableData("inputFileStr", decoded);
    decoded = decoded.replaceAll("\\n|\\r", "");
    byte[] outputBytes = decoded.getBytes();
    String reencoded = Base64Encoder.encode(outputBytes);
    setVariableData("outputFileStr", reencoded);
    catch(Exception uee)
    uee.printStackTrace();
    below is stack trace:
    09/02/26 08:10:33 java.lang.ArrayIndexOutOfBoundsException: -1
    09/02/26 08:10:33 at com.collaxa.common.util.Base64DecoderStream.decode(Base64DecoderStream.java:162)
    09/02/26 08:10:33 at com.collaxa.common.util.Base64DecoderStream.decode(Base64DecoderStream.java:143)
    09/02/26 08:10:33 at com.collaxa.common.util.Base64Decoder.decode(Base64Decoder.java:36)

  • How to read any sap note?

    Hi all,
    i have a note number. can anybody tell me how can i read whats there in the note before applying i mean documentatin kind of thing.
    thanks

    Go to www.service.sap.com and in SAP support portal click on SAP Notes search. enter your username and password. then you can search for  SAP Note.
    You would require user id and password to access SAP support /market place.
    If you are already in the project, check with the IT manager of the client to provide one
    SAP Notes help you how to remove known errors from SAP Systems. They include a description of the symptoms, the cause of the error, and the SAP Release and Support Package level in which the error occurs.
    Regards
    Bala

  • How to set dreamweaver to not use CSS?

    I know it is frowned upon to not use CSS, but, the reason why
    I want everything done in HTML is because I want to list my page on
    ebay, and ebay does not support the use of css, or at least it
    seems that way, everything has to be purely done in HTML, is there
    a way to set dreamweaver so that it does not automatically make my
    formating turn to CSS?
    Thanks,
    Bill.

    .oO(BKolos)
    >I know it is frowned upon to not use CSS, but, the reason
    why I want everything
    >done in HTML is because I want to list my page on an
    auction, and this auction
    >does not support the use of css, everything has to be
    purely done in HTML
    If it's about eBay or a similar platform, then in fact you
    can use CSS.
    You just have to add a 'style' element to the page body(!) to
    link to an
    external stylesheet. It's completely invalid HTML, because
    the 'style'
    element belongs to the document's head, but it should work in
    almost
    every browser. And since usually the rest of the auction page
    is invalid
    HTML anyway, it doesn't really hurt either.
    See if this helps.
    Micha

  • How to apply a user style with the Stylish extension for Web Developer Tools?

    I have firefox 27 and the fonts of Web Developer Tools (Inspector, Debugger..) are very small.
    The fonts of Stylish editor are very small also.
    Here https://support.mozilla.org/en-US/questions/943857 I found a similar question.
    GingerBread Man said :
    "If you need to modify anything else, you can use the DOM Inspector extension to examine user interface elements ("chrome"). "
    My problem is that I can't find the names of elements e.g "chrome://browser/content/devtools/markup-view.xhtml"

    @the-edmeister
    Thanks for your reply.
    The rule below affects only Inspector
    @namespace url(http://www.w3.org/1999/xhtml);
    @-moz-document url("chrome://browser/content/devtools/markup-view.'''xhtml'''") {
    .devtools-monospace {
    font-size: 120% !important;
    I change the rule as you suggest.
    @-moz-document url("chrome://browser/skin/devtools/markup-view.css") { ......}
    It doesn't work.

  • How can uncheck Internet Explorer9Compatibilty View from Browser Mode: IE9 in F12 developer tools

    Hi Friends
    How can Uncheck option Internet Explorer9Compatibilty View from Browser Mode: IE9 in F12 developer tools through GPO or script.
    Help and guide me ..

    Hi Mr. Raj,
    Please explain a bit about the following questions for better analyzation:
    1. Is the Internet Explorer version 9?
    2. Why do you want to uncheck the single option?
    3. How about disable the compatibility mode?
    To receive better support about script, it is recommended to seek help in script forum.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-us/home?category=scripting
    Please take a look at the following thread similar to this requirement.
    http://social.technet.microsoft.com/Forums/en-US/74da68dc-dd44-462d-addd-c007169b3370/how-to-uncheck-display-all-websites-in-compatibility-view-in-ie9?forum=ieitprocurrentver
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • How to search for text in document

    How do you search text within a document on the Samsung Galaxy 10.1? I click the search icon, enter the text to search and nothing happens. The only options I see are a circled "x" and "Cancel". The program does not automatically go to the entered search string and I cannot find anyway to cause the program to find the words. Thanks,

    Once you have typed your search term in, you need to tap the "enter" key on the keyboard. Once you do, the keyboard should close, and you should see the first instance selected.
    There will be two Arrow buttons in the bottom center of the screen to go back and forth through all of the instances of this word in the document.
    If the word could not be found, then a message displaying "search term" not found will appear at the bottom of the screen above those buttons.

  • Be able to Read Out Loud text, not just form fields

    I am trying to develop an accessible form that has at its end the following statement:
    "I hereby certify that all statements on this application are true and complete to the best of my knowledge and belief. I understand that false statements on pre-employment materials constitute fraud in securing employment and is basis for dismissal."
    This statement needs to be able to be Read Out Loud by a Screen Reader.
    I started outlining the form in Microsoft Word and then brought it into LiveCycle. The PDF Structure shows the text but the Hierarchy does not. From my experiments, only the Hierarchy is Read by a Screen Reader.
    So,
    1) How to make the certification be read out loud?
    2) How to alert users of Screen Readers that there also is a Signature line to fill out? They need to sign and date the form.
    Thanks for any help you may give. BTW, I am using LiveCycle 8.

    In Designer you can indicate what needs to be read for specific fields. Under the Window menu there is an Accessability palette that needs to be enabled. Once this is done you can enter Custom screen Reader text to be read. I woudl attach this to the last field on the form.

  • How to make specific text not  appear in pdf print

    I would like to display some text only on screen, but not when printed on paper. How do I do that ?

    Yepp I know that, but can we make a service which behaves like facebook or twitter app.?
    For e.g. When we click on share, it would show myapp in this share list. So I could share links with myapp.
    I heard about "Custom URL Schemes" through which third-party apps can communicate, but how could I implement this for every link on ios browser?
    Any suggestion would be helpfull for me.
    Thanks

  • How to search for "Kind not equal to Folder"

    I'm trying to set up a Smart Folder with criteria:
    - Last Modifed within last 2 weeks AND
    - Kind is not Folder
    How do you set up Finder search criteria for Kind "doesn't equal" something? All I can find is Kind = All or one thing in particular?
    Thanks for any help you can provide.
    OS X 10.4.8
    Mike
      Mac OS X (10.4.8)  
      Mac OS X (10.4.8)  
      Mac OS X (10.4.8)  

    You'll have to use the Raw Query in order to have boolean operators, such as "is not" or "or" and so on. So do your Command-F, choose Last Modified, then for second criterion select "Other" from the drop down menu and scroll to Raw Query and select it. In the Raw Query field copy and paste this:
    kMDItemKind != "Folder"
    That should do it. The booleans are:
    == equal
    != not equal
    < less than
    <div class="jive-quote"> greater than
    <= less than or equal to
    <div class="jive-quote">= greater than or equal to
    For more information than you will probably ever want to know, you can start here:
    http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index. html
    The above comes from the link to Query Expression Syntax.
    Francine
    Francine
    Schwieder
    PS--Hi biovizier, looks like you hit post before I did. Great minds....

  • How to really "share" library, not just stream?

    My husband and I each have a macbook. I have 99% of the music on my computer and "share" my library with him. In iPhoto I do the same thing so he can drag the photos he wants onto his will the rest stay on my computer. He is unable to drag music onto his hard drive like photos in iPhoto. I know that music is different with DRM and all but both our computers are authorized and he'd like an easy way to pull some music onto his computer and thus also sync with his iPhone etc. Is there a workaround here or something else I'm missing? I don't see how this can really be called "Shared". It should be called "Streamed". Two people married to each other are not going to buy a song twice so why do they make it so hard?

    I just ran into the same problem. I want to store the files on my computer and let my wife use them on hers, for slideshows in iPhoto, etc. What iTunes calls "Sharing" is not that, it is "streaming", as you pointed out.
    I found a limited workaround for now: Use file sharing.
    • In her iTunes preferences, under Advanced, I deselected "Copy files to iTunes Music folder when adding to library".
    • Then I logged on to my computer with the Finder using file sharing.
    • Then I navigated to my computer's iTunes Music folder (typically in the user's home folder inside Music:iTunes), and dragged and dropped it onto the iTunes window on her computer. This caused her computer to import all of my iTunes files but instead of copying them, reference them to my computer's hard drive.
    As a test, I quit iTunes on her computer and disconnected from my computer and relaunched iTunes. When I double-clicked a song to play it, her computer automatically logged into my computer to access the song. She has to have the password for my computer remembered in her keychain to allow the auto login to work.
    Disadvantages:
    • To access songs from e.g. iPhoto, iTunes must be launched first and something played, to make iTunes automatically log in to my computer. Alternately, I could set her computer up to mount my computer's drive at startup.
    • My computer must be awake any time she wants to use iTunes.
    • She can't use my playlists.
    • It can take a very long time for her iTunes to process my iTunes Music folder even though it isn't copying all of the songs. It goes looking for album artwork and adjusts the song gaps all over again even though that info exists on my computer.
    Advantage:
    • She has access to all of the copyrighted songs that we legally own and she should have every right to use in any way she wants to, without requiring duplicate copies eating up space on her computer's hard drive.
    There might be better workarounds. Her entire Music:iTunes folder could simply be an alias to my computer's folder and auto mounted at login but there are disadvantages to that too. For example, iTunes wouldn't auto mount my disk, and changes she makes would be applied to my library. You might want that, it's your call.
    I suggest you and anyone else who thinks the iTunes sharing should be improved post a request to Apple Feedback at:
    http://www.apple.com/feedback/itunesapp.html
    HTH

Maybe you are looking for

  • Infocube 0FITV_C01 and 0FITV_C01

    Hi all, Could someone tell me which are table used form the source system for the info cube 0FITV_C01 and 0FITV_C01. Thanks Ranjan

  • Ie 11 command bar

    Is there a way to move the command bar, in IE 11, from the left side to the right side? dragging from the separator doesn't work. thanks

  • Sales employee not update in COPA

    Dear All Can anyone tell me how to make order update for changes made to Sales Orders after the fact. For Example: An order was entered but had the wrong Sales Group and Sales Employee. We made the change in the order header but it does not profitabi

  • JSF 2.0 no ajax redirection

    Hi all, When I save a object with the commandButton I will be redirected to the value I return. But this an ajax redirection and I want a hard redirection so you see the page in browser. How can I make this possible? Thanks in advance.

  • IPod disconnects after sync

    My iPod keeps disconnecting after it syncs. I connect it to my iMac; it syncs; and then the icon on the desk top disappears. It is, however, still in the iTunes menu under devices. The reason this is a problem, is when I connect my iPod to use it wit