{"id":843423,"authors":[{"id":11844708,"name":"NiklasG","url":"https://addons.mozilla.org/en-US/firefox/user/11844708/","username":"NiklasGollenstede","picture_url":null}],"average_daily_users":31,"categories":["web-development","appearance"],"contributions_url":"","created":"2017-08-14T04:17:25Z","current_version":{"id":5728415,"compatibility":{"firefox":{"min":"59.0","max":"*"}},"edit_url":"https://addons.mozilla.org/en-US/developers/addon/re-style/versions/5728415","file":{"id":4272715,"created":"2024-04-25T19:53:52Z","hash":"sha256:44588d0fd978f4a65d150d07d0834c2dfc73f2ce43217b58e32a47c35eed1f02","is_mozilla_signed_extension":false,"size":208629,"status":"public","url":"https://addons.mozilla.org/firefox/downloads/file/4272715/re_style-0.4.2resigned1.xpi","permissions":["storage","nativeMessaging","notifications","sessions","tabs","webNavigation","<all_urls>"],"optional_permissions":["bookmarks"],"host_permissions":[],"data_collection_permissions":[],"optional_data_collection_permissions":[]},"is_strict_compatibility_enabled":false,"license":{"id":3338,"is_custom":false,"name":{"en-US":"Mozilla Public License 2.0"},"slug":"MPL-2.0","url":"https://www.mozilla.org/MPL/2.0/"},"release_notes":null,"reviewed":"2024-04-25T19:53:52Z","version":"0.4.2resigned1"},"default_locale":"en-US","description":{"en-US":"This user style manager supports the usual installation of styles from URL  and polling those URLs for updates.\nIn addition to that, you can load <b>local styles</b> and apply styles to the <b>browser UI</b>.\n\n\n<b>Installing styles</b>\n\nStyles can be installed from <a rel=\"nofollow\" href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/079d2a2665417d4517d296655a3ba3e6d81e1f5cc53804cc1a2bb8229113b659/http%3A//userstyles.org\">userstyles.org</a>, GitHub or any other website that offers appropriate styles for download.\nOn <a rel=\"nofollow\" href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/079d2a2665417d4517d296655a3ba3e6d81e1f5cc53804cc1a2bb8229113b659/http%3A//userstyles.org\">userstyles.org</a>, open the styles detail page, choose your settings if the style offers any, then click the reStyle icon in the browsers toolbar and \"Add style\" in the popup.\nOn other pages, you need to open the .css file before clicking the reStyle icon.\n\n\n<b>UI styles</b>\n\nStarting with Firefox 57, it is no longer possible for Add-ons to directly apply user styles to anything else than normal websites.\nAs a workaround, reStyle recognizes styles that will no longer work and writes them to the\n<a rel=\"nofollow\" href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/6f70cecbe3d122ab6cc15fb283a190de603c48a475cec9e23d25c94b8f744482/http%3A//kb.mozillazine.org/index.php%3Ftitle=UserChrome.css\"><code>userCrome.css</code></a> (e.g. for the UI) and <a rel=\"nofollow\" href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/c71144b6068958580fcf99be81e9ebaab0e623a7765af0867e88a4a301494c7c/http%3A//kb.mozillazine.org/index.php%3Ftitle=userContent.css\"><code>userContent.css</code></a> (e.g. for about:-pages).The only major drawback of this compared to how Stylish for Firefox used to apply styles is that the browser must be restarted for changes to those files to be applied.\n\nMany UI styles will still be broken in Firefox 57+ due to the actual changes in the browser UI, but at least it will be possible to fix that and distribute the styles in a reasonably simple manner.\n\n\n<b>Development Mode</b>\n\nYou can load styles from a local folder on your computer as user styles.\nStyles matching normal content pages should be re-applied immediately when the files are saved.\n\n\n<b>NativeExt</b>\n\nIn order to do the things described above, <a rel=\"nofollow\" href=\"https://prod.outgoing.prod.webservices.mozgcp.net/v1/c5b947c8ebd4d05bf8340b6796c0875bf0111e07e2473548e6934d807aee3bac/https%3A//github.com/NiklasGollenstede/native-ext\">NativeExt</a> must be installed on the system.\nThe add-on contains instructions on how to do that easily.\n\n\n<b>Permissions used</b>\n\n- \"Access your data for all websites\": To apply styles to any website you choose.\n- \"Access browser tabs\": Apply styles to existing tabs (when installed/enabled/started).\n- \"Access browser activity during navigation\": Apply styles to new tabs/pages.\n- \"Exchange messages with programs other than Firefox\": Use NativeExt if installed. Useless otherwise.\n- \"Display notifications to you\": Success messages after user actions, error messages.  Status changes.\n- \"Access recently closed tabs\": Under some rare conditions, reStyle needs to open temporary popups. This is used to remove them from the history after they are closed.\n\n\n<b>Implementation status</b>\n\nReading styles locally, re-applying them on changes and applying UI styles works as intended (there is no way around the restart requirement).\nApplying normal content styles works, bit is still somewhat expensive. Improvements here require patches to Firefox.\nAutomatic updates of remote styles (those installed from the internet) can not be disabled per style.\nThe initial setup UI of this add-on itself still needs some work.\n\n\n<b>Meta comments</b>\n\nreStyle supports meta comment blocks similar to those used in user scripts. They start with <code>==UserStyle==</code> and can, besides the non-functional properties <code>@name</code>, <code>@author</code>, <code>@license</code> and <code>@description</code>, contain <code>@include</code> rules, which allow authors to wirte styles that can be included on domains chosen by the user via reStyles UI."},"developer_comments":null,"edit_url":"https://addons.mozilla.org/en-US/developers/addon/re-style/edit","guid":"@re-style","has_eula":false,"has_privacy_policy":false,"homepage":{"url":{"en-US":"https://github.com/NiklasGollenstede/re-style"},"outgoing":{"en-US":"https://prod.outgoing.prod.webservices.mozgcp.net/v1/7c67f576a5a0d4f3c3111266a09688bd284150f09c7bf73eb2f1e75b4ca168f3/https%3A//github.com/NiklasGollenstede/re-style"}},"icon_url":"https://addons.mozilla.org/user-media/addon_icons/843/843423-64.png?modified=1535306966","icons":{"32":"https://addons.mozilla.org/user-media/addon_icons/843/843423-32.png?modified=1535306966","64":"https://addons.mozilla.org/user-media/addon_icons/843/843423-64.png?modified=1535306966","128":"https://addons.mozilla.org/user-media/addon_icons/843/843423-128.png?modified=1535306966"},"is_disabled":false,"is_experimental":false,"is_noindexed":false,"last_updated":"2024-04-25T19:53:52Z","name":{"en-US":"reStyle"},"previews":[{"id":190887,"caption":{"en-US":"Adding a user style with options from userstyles.org in Firefox 57.\r\nThe UI and web page are customized with reStyle"},"image_size":[700,399],"image_url":"https://addons.mozilla.org/user-media/previews/full/190/190887.png?modified=1622132750","position":0,"thumbnail_size":[533,304],"thumbnail_url":"https://addons.mozilla.org/user-media/previews/thumbs/190/190887.jpg?modified=1622132750"}],"promoted":[],"ratings":{"average":3.3,"bayesian_average":2.9249768034420676,"count":10,"text_count":8},"ratings_url":"https://addons.mozilla.org/en-US/firefox/addon/re-style/reviews/","requires_payment":false,"review_url":"https://addons.mozilla.org/en-US/reviewers/review/843423","slug":"re-style","status":"public","summary":{"en-US":"A user style manager which can load local files and apply UI styles even in Firefox 57+"},"support_email":null,"support_url":{"url":{"en-US":"https://github.com/NiklasGollenstede/re-style/issues"},"outgoing":{"en-US":"https://prod.outgoing.prod.webservices.mozgcp.net/v1/a1fc7f4887d4f2eaccd095a76064b049963741299012d242f4eefc8bb14049be/https%3A//github.com/NiklasGollenstede/re-style/issues"}},"tags":[],"type":"extension","url":"https://addons.mozilla.org/en-US/firefox/addon/re-style/","versions_url":"https://addons.mozilla.org/en-US/firefox/addon/re-style/versions/","weekly_downloads":2}