Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Way to control which parts of the DOM do/do not get parsed

    Migaku Browser Extension
    1
    1
    12
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arol last edited by

      I have been recently working on a little webpage for myself that I can use to grab 1T sentences from the books I am currently reading / preparing to read. Works alongside the migaku toolbar exceptionally well, but the one annoyance I am running into is that sometimes the toolbar messes with the html / css layout.

      For example, below the two tables of words end up floating in an awkward way due to the <span/> 's that get added when I click 'Parse' in the toolbar. There is probably some other way I could mitigate this, but it would be helpful if there was someway to interact with the plugin (ie, parse(dom element) only recursively parses a certain section, instead of the whole page)
      8630a860-0d78-4307-8c89-5bc81cd618c8-image.png

      (And an example of the main page if you are curious)
      ffa585d1-d5c4-4d10-a37c-8fc2ef3c899a-image.png

      1 Reply Last reply Reply Quote 0
      • First post
        Last post