MCPcopy Create free account
hub / github.com/OtterBrowser/otter-browser / UserScript

Method UserScript

src/core/UserScript.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34
35UserScript::UserScript(const QString &path, const QUrl &url, QObject *parent) : QObject(parent), Addon(),
36 m_iconFetchJob(nullptr),
37 m_path(path),
38 m_downloadUrl(url),
39 m_injectionTime(DocumentReadyTime),
40 m_shouldRunOnSubFrames(true)
41{
42 reload();
43}
44
45void UserScript::reload()
46{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected