menu
Помочь проекту / Реклама на сайте
[ Обновленные темы · Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Другие программы » MWbrowser » MWBrowser (Dark mode for web pages)
MWBrowser
kakec21409
[ Offline ]
Профиль
Дата: Вторник, 26.12.2023, 21:48 | Сообщение # 1
Рядовой
Группа: Пользователи
Сообщений: 2
Репутация: 0
This is a very customizeable browser with on big disadvantage. That is no dark mode for web pages (at least not that I could find.) Looking at bright white web pages is painful. As much as I really like the features of this browser, the lack of a dark mobe for web pages makes it almost un-useable. Pleae tell me that there is something I missed or that you are working on a fix. Best regards.
 
wolf3d
[ Offline ]
Профиль
Дата: Среда, 27.12.2023, 10:45 | Сообщение # 2
Полковник
Группа: Админы
Сообщений: 171
Репутация: 1
Забыл ответить:

kakec21409
, то, о чём вы говорите, в одиночку я не смогу этого сделать - это очень трудоёмкий процесс для нескольких программистов. Причём довольно длительный.
Но есть другие варианты:
1. Смените цвет фона главного окна браузера на более тёмный (в быстрых настройках) - для многих сайтов этого достаточно.
2. Если первый вариант не поможет, используйте букмарклет: 
(Для применения скрипта, скопируйте его код из сообщения и вставляйте его в строку адреса как обычный урл.
Не забывайте удалить пробел в java script в начале (пробел вставляет движок форума))

Код
java script:(function(){var night=function(w){(function(d){var css='html{background:#333 !important}html *{background:none !important;color:#bbb !important;border-color:#333 !important;border-width:0 !important}html a,html a *{color:#5c8599 !important;text-decoration:underline !important}html a:visited,html a:visited *,html a:active,html a:active *{color:#525f66 !important}html a:hover,html a:hover *{color:#cef !important;background:#023 !important}html input,html select,html button,html textarea{background:#4d4c40 !important;border:1px solid #5c5a46 !important;border-top-color:#474531 !important;border-bottom-color:#7a7967 !important}html input[type=button],html input[type=submit],html input[type=reset],html input[type=image],html button{border-top-color:#7a7967 !important;border-bottom-color:#474531 !important}html input:focus,html select:focus,html option:focus,html button:focus,html textarea:focus{background:#5c5b3e !important;color:#fff !important;border-color:#474100 #665d00 #7a7849 !important;outline:2px solid #041d29 !important}html input[type=button]:focus,html input[type=submit]:focus,html input[type=reset]:focus,html input[type=image]:focus,html button:focus{border-color:#7a7849 #665d00 #474100 !important}html input[type=radio]{background:none !important;border-color:#333 !important;border-width:0 !important}html img[src],html input[type=image]{opacity:.5}html img[src]:hover,html input[type=image]:hover{opacity:1}html,html body{scrollbar-base-color:#4d4c40 !important;scrollbar-face-color:#5c5b3e !important;scrollbar-shadow-color:#5c5b3e !important;scrollbar-darkshadow-color:#474531 !important;scrollbar-track-color:#4d4c40 !important;scrollbar-arrow-color:#000 !important;scrollbar-3dlight-color:#7a7967 !important}';var s=d.getElementsByTagName('style');for(var i=0,si;si=s[i];i++){if(si.innerHTML==css){si.parentNode.removeChild(si);return}};var heads=d.getElementsByTagName('head');if(heads.length){var node=d.createElement('style');node.type='text/css';node.appendChild(d.createTextNode(css));heads[0].appendChild(node)}})(w.document);for(var i=0,f;f=w.frames;i++){try{arguments.callee(f)}catch(e){}}};night(window)})();[/i]


Пока его применение необходимо при каждой загрузке страницы.
В будущем реализую автоматический механизм букмарклетов в браузере.
 
kakec21409
[ Offline ]
Профиль
Дата: Пятница, 29.12.2023, 19:22 | Сообщение # 3
Рядовой
Группа: Пользователи
Сообщений: 2
Репутация: 0
Thanks for your fast reply. Sadly your bookmarklet did not work for me. Nothing happens when I past it into the address bar and hit go. And I did remove the space:

javascript:(function(){var night=function(w){(function(d){var css='html{background:#333 !important}html *{background:none !important;color:#bbb !important;border-color:#333 !important;border-width:0 !important}html a,html a *{color:#5c8599 !important;text-decoration:underline !important}html a:visited,html a:visited *,html a:active,html a:active *{color:#525f66 !important}html a:hover,html a:hover *{color:#cef !important;background:#023 !important}html input,html select,html button,html textarea{background:#4d4c40 !important;border:1px solid #5c5a46 !important;border-top-color:#474531 !important;border-bottom-color:#7a7967 !important}html input[type=button],html input[type=submit],html input[type=reset],html input[type=image],html button{border-top-color:#7a7967 !important;border-bottom-color:#474531 !important}html input:focus,html select:focus,html option:focus,html button:focus,html textarea:focus{background:#5c5b3e !important;color:#fff !important;border-color:#474100 #665d00 #7a7849 !important;outline:2px solid #041d29 !important}html input[type=button]:focus,html input[type=submit]:focus,html input[type=reset]:focus,html input[type=image]:focus,html button:focus{border-color:#7a7849 #665d00 #474100 !important}html input[type=radio]{background:none !important;border-color:#333 !important;border-width:0 !important}html img[src],html input[type=image]{opacity:.5}html img[src]:hover,html input[type=image]:hover{opacity:1}html,html body{scrollbar-base-color:#4d4c40 !important;scrollbar-face-color:#5c5b3e !important;scrollbar-shadow-color:#5c5b3e !important;scrollbar-darkshadow-color:#474531 !important;scrollbar-track-color:#4d4c40 !important;scrollbar-arrow-color:#000 !important;scrollbar-3dlight-color:#7a7967 !important}';var s=d.getElementsByTagName('style');for(var i=0,si;si=s;i++){if(si.innerHTML==css){si.parentNode.removeChild(si);return}};var heads=d.getElementsByTagName('head');if(heads.length){var node=d.createElement('style');node.type='text/css';node.appendChild(d.createTextNode(css));heads[0].appendChild(node)}})(w.document);for(var i=0,f;f=w.frames;i++){try{arguments.callee(f)}catch(e){}}};night(window)})();

Guess I'll have to give up on my new favorite browser
Thanks again for your time and effort.
 
wolf3d
[ Offline ]
Профиль
Дата: Суббота, 30.12.2023, 04:35 | Сообщение # 4
Полковник
Группа: Админы
Сообщений: 171
Репутация: 1
kakec21409, да, точно, и тут движок сайта что-то переделал.
Тогда пробуйте вставить текст из приложенного файла darc_page.txt

Прикрепления: dark_page.txt (2.1 Kb) · 2470806.jpg (237.9 Kb) · 3303329.jpg (213.1 Kb)
 
Форум » Другие программы » MWbrowser » MWBrowser (Dark mode for web pages)
  • Страница 1 из 1
  • 1
Поиск: