Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Special CSS "glimpse" classes. #127

@mgoffin

Description

@mgoffin

I want to add CSS classes that we can wrap unique identifiers with to give users a "glimpse" of what they are linking to.

For example:

<span class="sample_md5">[some md5]</span>

Then there would be a javascript file that is always included on every page that has things similar to this:

$(document).on("mouseover", ".sample_md5", function(e) {
    var md5 = $(this).text();
    $.ajax({
        //make some ajax call to fetch a quick summary of the sample
        //and render it in a div near the mouse pointer.
        //if no sample is found, still render the div but give a link to
        //generate a new sample from the MD5.
    });
});

Often I find myself opening a new tab just to quickly see what the target object looks like. This would be a quick way to make some values that aren't links a useful way to look at data without having to leave the page you are on.

This also will allow for quick processing of chunks of data. For example, with Raw Data if there is anything matching a regex of an MD5 we can auto-wrap it in one of these "glimpse" classes. You can then quickly see the sample information or generate the sample immediately if you feel it is of interest to you.

We can add other information as well like geo-ip maps for IP addresses.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions