一ヶ月用
…
…
.browserContainer { position: relative !important; } #statuspanel-inner { width: unset !important; } findbar { -moz-box-ordinal-group: 0 !important; position: absolute !important; top: 0 !important; right: 0 !important; margin: -1px 20px 0 0 !important; border: 1px solid var(--chrome-content-separator-color) !important; border-top: 0 !important; background-color: var(--toolbar-bgcolor) !important; background-image: none !important; z-index: 1002 !important; display: flex !important; } #main-window[inFullscreen] findbar{ margin-top: 0 !important; } .findbar-textbox { font-size: medium !important; } findbar .findbar-container, findbar .close-icon{ pointer-events: auto; } .findbar-highlight, .findbar-case-sensitive { padding: var(--toolbarbutton-inner-padding) !important; } .findbar-highlight .toolbarbutton-text, .findbar-case-sensitive > .toolbarbutton-text, .findbar-match-diacritics > .toolbarbutton-text { display: none !important; } .findbar-highlight:after, .findbar-case-sensitive:after, .findbar-match-diacritics:after { display: -moz-box !important; } .findbar-highlight:after { content: "\00a0\00a0\00a0\00a0"; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABlElEQVR42mL8//8/Ay0BQAAxMdAYAAQQzS0ACCCaWwAQQDS3ACCAWEjVsGzLvv/HLlxjsDLQYojycWIkpB4ggJhINZyfl5thcnU2Aw83J8OijbsJJkGAAGIi1XAvOzOG33/+MDia6TMwMzExzF69Da8lAAHERI7hP3/9Zvj24yeDlaE2mD9l6UaclgAEEBMphv/5+xdu+LfvQPzjB4OpjjrD4aNHceoHCCAWclwOMxxE7z1xnsHc3BynGQABxIivqNC3dPh/4dh+rIZ///GLYc/xcwxsbKwMRfHBOFMTQADhDaJLJw4yxBU1gA1DdzkxhoMAQADhDKL44kaw15ZMaALzm4oz4YbvO3mBKMNBACCAcFrw8d0bOBtmSV5SFDjMiTUcBAACiAEUB+h4w96j/0HYyt0f5As41rOw/9+7YM1/bHpwYYAAwumD4xeuM9i6+YLZKtqGDAt76xnJKYsAAogFl+GHd20Gs4/u2MBISWEHEECMtK7RAAKI5sU1QADR3AKAAKK5BQABRHMLAAKI5hYABBgAGVz2EZX7WKAAAAAASUVORK5CYII=) center no-repeat !important; } .findbar-case-sensitive:after { content: "Aa" !important; } .findbar-match-diacritics:after { content: "eê" !important; } .found-matches { -moz-box-ordinal-group: 0 !important; margin: 0 8px 0 0 !important; } .findbar-find-status { display: none !important; } .findbar-container, .findbar-closebutton { vertical-align: middle !important; }
旧タイトル:ページ内検索バーをChrome風にする.css
あまってるツールバーを代わりに使います
:root{ --addonbar-height: 22px; /* バーの高さ */ } /* メニューを消す #menubar-items { visibility: collapse !important; } */ #main-window:not([inFullscreen]) #browser-bottombox { margin-bottom: var(--addonbar-height) !important; } #main-window[inFullscreen] #toolbar-menubar { visibility: collapse !important; } #toolbar-menubar { display: unset; position: fixed; bottom: 0px; right: 0px; left: 0px; direction: rtl !important; height: var(--addonbar-height) !important; min-height: var(--addonbar-height) !important; max-height: var(--addonbar-height) !important; padding: 0 !important; border: solid var(--chrome-content-separator-color) !important; border-width: 1px 0 0 !important; background-color: var(--toolbar-bgcolor); -moz-window-dragging: no-drag !important; } #toolbar-menubar:-moz-lwtheme { background-position: bottom left !important; background-image: var(--lwt-header-image) !important; } #toolbar-menubar toolbarbutton, #toolbar-menubar toolbaritem { direction: ltr !important; height: var(--addonbar-height) !important; } #toolbar-menubar toolbarbutton:not(.bookmark-item) > .toolbarbutton-icon, #toolbar-menubar toolbarbutton > .toolbarbutton-badge-stack { padding: 0px var(--toolbarbutton-inner-padding) !important; } #main-window:not([inFullscreen]) #statuspanel { position: fixed !important; bottom: 0 !important; left: 0px !important; max-width: 80% !important; } #main-window:not([inFullscreen]) #statuspanel-inner { -moz-box-align: center !important; height: var(--addonbar-height) !important; } #main-window:not([inFullscreen]) #statuspanel-label { background: transparent !important; border: none !important; color: #000 !important; } #main-window:not([inFullscreen]) #statuspanel:-moz-lwtheme-brighttext #statuspanel-label { color: #fff !important; } #main-window:not([inFullscreen]) #statuspanel-label:-moz-locale-dir(ltr) { margin-left: 0 !important; margin-right: 0 !important; }
:root{ --addonbar-height: 22px; /* バーの高さ */ } #main-window:not([inFullscreen]) #browser-bottombox { margin-bottom: var(--addonbar-height) !important; } #main-window:not([inFullscreen]) #PersonalToolbar { visibility: visible !important; } #PersonalToolbar { display: block; position: fixed; bottom: 0px; right: 0px; left: 0px; direction: rtl !important; height: var(--addonbar-height) !important; min-height: var(--addonbar-height) !important; max-height: var(--addonbar-height) !important; padding: 0 !important; border: solid var(--chrome-content-separator-color) !important; border-width: 1px 0 0 !important; background-color: var(--toolbar-bgcolor); -moz-window-dragging: no-drag !important; } #PersonalToolbar:-moz-lwtheme { background-position: bottom left !important; background-image: var(--lwt-header-image) !important; } #PersonalToolbar toolbarbutton, #PersonalToolbar toolbaritem { direction: ltr !important; height: var(--addonbar-height) !important; } #main-window:not([inFullscreen]) #statuspanel { position: fixed !important; bottom: 0 !important; left: 0px !important; max-width: 80% !important; } #main-window:not([inFullscreen]) #statuspanel-inner { -moz-box-align: center !important; height: var(--addonbar-height) !important; } #main-window:not([inFullscreen]) #statuspanel-label { background: transparent !important; border: none !important; color: #000 !important; } #main-window:not([inFullscreen]) #statuspanel:-moz-lwtheme-brighttext #statuspanel-label { color: #fff !important; } #main-window:not([inFullscreen]) #statuspanel-label:-moz-locale-dir(ltr) { margin-left: 0 !important; margin-right: 0 !important; }
#main-window:not([inFullscreen]) #browser-bottombox { margin-bottom: var(--tab-min-height) !important; } #tabbrowser-tabs { width: 100vw !important; } .titlebar-spacer { width: 0 !important; } .toolbar-items { display: unset !important; position: fixed !important; bottom: 0 !important; height: var(--tab-min-height) !important; padding: 0 !important; z-index: 1000000000 !important; } /*フルスクリーン時は隠しておく*/ #main-window[inFullscreen] .toolbar-items { background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)); } #main-window[inFullscreen] .toolbar-items:not(:hover) { height: 1px !important; opacity: 0 !important; }
ReplaceStr.txtを活用するスレ Part10にあったURL結合が便利なんだけど、V2Cではフリーズしてるのかと思うぐらい重くなるので、誤爆回避などを犠牲にして高速に動くように書いた。
//▽分断された「http://」「https://」を結合する_V2C <rx2>t[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?p[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?(s)?[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?:[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?/[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?/[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]?([\dA-Za-z])【TAB】tp$1://$2【TAB】msg //▽分断されたURLを結合する_V2C <rx2>tp(s?://(?>[!#%&\--;=?-Z_a-z~]+))(?>(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|(?:[\--9=?-Za-z]+)?&#?[0-9a-z]{2,6};|[?htps]{0,8}://)(?![a-z@]{0,10}\s?<br>)([!#%&\--;=?-Z_a-z~]+))(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?(?>[\s 〇×☆★○●◎◇◆□■△▲▽▼◯]+(?![a-z]+ ?@|&#?[0-9a-z]{2,6};|[?htps]{0,8}://)([!#%&\--;=?-Z_a-z~]+))?)(?!(?!<br>)[^\s 〇×☆★○●◎◇◆□■△▲▽▼◯!#%&\--;=?-Z_a-z~])【TAB】tp$1$2$3$4$5$6$7$8$9 <font color=red>[URL結合]</font>【TAB】msg //▽改行で分断されたURLを結合する_V2C <rx2>(tps?://(?>[!#%&\--;=?-Z_a-z~]+))(?<!/|\.htm|\.html)(?: <font color=red>\[URL結合\]</font>)?\s*<br>\s*(?![-!_@]|&[a-z]{2,4};|[?htps]{0,5}:?//|[!#%&\--;=?-Z_a-z~]+\s(?!\s?<br>)|[-_.#0-9a-zA-Z]{0,50}(?:[\s ]*<br>|$))([!#%&\-.0-9=?-Z_a-z]+/[!#&\--9=?-Z_a-z~]*|[%#\-.0-9a-zA-Z]+(?!/))(?:\s*<br>|$)【TAB】$1$2 <font color=red>[改行URL結合]</font><br>【TAB】msg
豆腐