Discussions » Creation Requests
Conversion between firefox userstyle to chrome userstyle or even script ?
this is not a firefox script but a CSS Sheets, i don't know what site you want to run it at,replace www.youtube.com
with the site you want to run blow maybe it will run
// ==UserScript==
// @version 0.1
// @name inject a style for a site such as youtube
// @match *://www.youtube.com/*
// @run-at document-start
// @grant none
// @noframes
// ==/UserScript==
(function () {
'use strict';
var injection = document.createElement('style');
document.head.appendChild(injection);
injection.textContent = `
#PlacesToolbarItems menupopup .scrollbox-innerbox, .bookmark-item[container="true"] menupopup .scrollbox-innerbox {width: 300px !important;display: table !important;}
#PlacesToolbarItems menupopup menuseparator, .bookmark-item[container="true"] menupopup menuseparator {display: block !important;margin-bottom: 6px !important;}`;
}());
by the way i'm not so good at this so there is nothing i can help on the other post you call for help
You're not good, you're right ))
You just mixed a usercript section with a userstyle for firefox.. I did a mistake, it wasn't a script that i gave you but a userstyle.. & i needed a userstyle conversion or at worse, userscript for chrome. & it doesn't affect any sites. It's bookmarks separators..
A perfect version that can't be found as chrome extensions either.
Anyone else ? ((
Conversion between firefox userstyle to chrome userstyle or even script ?