Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Possible to have --self-contained-html extra.image open in new tab #294

Copy link
Copy link
Open
@jonathantizard

Description

@jonathantizard
Issue body actions

Hi,

So currently I would like to pass images from web driver as base 64 encoded straight into your extra.image helper.

When setting to --self-contained-html. This works great, the only downside is that the images are no longer clickable. They don't open in a new tab.

Would it be possible to embed a little bit of JS on an onClick handler so that the image can open in a new tab? I'd love to submit a pull request but Im not Pythonic enough just yet!

This would be the icing on the cake for the self contained option!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.