Skip to content

@require can't work well after upgrading to 4.3.0 #355

Description

// @require      https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/nprogress/0.2.0/nprogress.min.js
// @require      https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/clipboard.js/2.0.10/clipboard.min.js

Above files use the keywords this, but it's always undefined when script injection.

I found the latest changes that make the scripts run in strict mode, and @require also in strict mode .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmaintenanceChores and refactoring

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions