xStyle icon indicating copy to clipboard operation
xStyle copied to clipboard

"Install with Stylish button" than "Install Style" in chrome

Open pabli24 opened this issue 7 years ago • 2 comments

Userstyles showing Install with Stylish button. This happens only in chrome browser.

pabli24 avatar Mar 08 '18 21:03 pabli24

Which button is displayed has no effect on the function

sylingd avatar Mar 11 '18 06:03 sylingd

使用User-Agent Switcher for Chromehttps://userstyles.org伪装成 ff浏览器访问 就能使用

也可以使用UserJavaScript.

// ==UserScript==
// @name       Make userstyles.org support xStyle extension
// @version    0.1
// @description Uses Mozilla user agent, make it support xStyle extension.
// @icon       https://userstyles.org/favicon.ico  
// @match      https://userstyles.org/*
// @run-at     document-start
// @grant none
// ==/UserScript==
Object.defineProperty(navigator, 'userAgent', {
    value: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0'
});

maboloshi avatar Mar 12 '18 00:03 maboloshi