Skip to content

userscripts dont run on chrome webstore #1226

@retronbv

Description

@retronbv

(Please fill out the issue template with your details)

Expected Behavior

Userscripts can run on chrome webstore

Actual Behavior

Userscript doesnt even show in popup:
image
image

Specifications

  • Vivaldi: 3.7.2218.55
  • TM: 4.12
  • OS: Linux

Script

(Please give an example of the script if applicable.)

// ==UserScript==
// @name         Vivaldi Web Store
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  changes chrome webstore to vivaldi webtore
// @author       retronbv
// @match        https://chrome.google.com/webstore/category/extensions
// @icon         https://img.icons8.com/fluent/344/vivaldi-web-browser.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var x = document.getElementsByClassName("uKSMob")[0];
    x.removeChild(x.firstElementChild);
    var y = document.createElement("img");
    y.src = "https://img.icons8.com/fluent/344/vivaldi-web-browser.png";
    y.width="32";
    x.appendChild(y);
    document.querySelectorAll(".PNF6le")[0].innerText="vivaldi web store";
    document.querySelectorAll(".SUBrWc")[0].innerText="About Vivaldi Web Store";
})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions