Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Salvattore randomly fails on the latest versions of Chrome #69

@nmn

Description

@nmn

I'm not sure what the problem is, as it still works in Safari, and the salvattore home page still seems to be working.

But two websites I've been using Salvattore on, show up blank in chrome.

I did some digging around, this is what I found so far:

var computedStyle = global.getComputedStyle(element, ":before")
    , content = computedStyle.getPropertyValue("content").slice(1, -1)

Here the computedStyle object has content set to an empty string, and therefore the code right after this throws an error.

Plus, if CSS is the only way Salvattore works, then it should fail more gracefully.
I'm spending as much time on it as I can, but so far, I've not been able to find the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions