File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 cursor : pointer;
3030 font-size : 100% ;
3131 font-weight : normal;
32- margin : 1em 0 0.8em 0 ;
3332 padding : 0.2em ;
3433 text-align : center;
3534 }
36- h2 : first-of-type {
37- margin-top : 0 ;
38- }
3935a {
4036 color : inherit;
4137 text-decoration : none;
150146body .off # switch .fa {
151147 color : # ccc ;
152148 }
149+ # basicTools {
150+ margin : 0.8em 0 0.4em 0 ;
151+ }
152+ .tool : first-child {
153+ margin-left : 0 ;
154+ }
155+ .tool {
156+ color : # aaa ;
157+ cursor : pointer;
158+ visibility : hidden;
159+ margin-left : 0.8em ;
160+ min-width : 1em ;
161+ padding : 0 0.2em ;
162+ unicode-bidi : embed;
163+ }
164+ .tool .enabled {
165+ visibility : visible;
166+ }
167+ .tool .enabled : hover {
168+ color : # 444 ;
169+ }
153170# page-blocked {
154171 font-size : 1.25em ;
155172 }
@@ -163,19 +180,6 @@ body.off #switch .fa {
163180 margin : 0 ;
164181 text-align : center;
165182 }
166- .tool {
167- color : # aaa ;
168- cursor : pointer;
169- display : none;
170- min-width : 1em ;
171- unicode-bidi : embed;
172- }
173- .tool .enabled {
174- display : inline-block;
175- }
176- .tool : hover {
177- color : # 444 ;
178- }
179183# extraTools {
180184 background-color : # eee ;
181185 border : 0 ;
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ var renderPopup = function() {
434434 // https://github.com/gorhill/uBlock/issues/507
435435 // Convenience: open the logger with current tab automatically selected
436436 if ( popupData . tabId ) {
437- uDom . nodeFromSelector ( '.statName > a[href^="logger-ui.html"]' ) . setAttribute (
437+ uDom . nodeFromSelector ( '#basicTools > a[href^="logger-ui.html"]' ) . setAttribute (
438438 'href' ,
439439 'logger-ui.html#tab_' + popupData . tabId
440440 ) ;
Original file line number Diff line number Diff line change @@ -375,11 +375,10 @@ var onBeforeBehindTheSceneRequest = function(details) {
375375
376376 context . dispose ( ) ;
377377
378- // Not blocked
379- if ( result !== 1 ) { return ; }
380-
381- // Blocked
382- return { 'cancel' : true } ;
378+ // Blocked?
379+ if ( result === 1 ) {
380+ return { 'cancel' : true } ;
381+ }
383382} ;
384383
385384/******************************************************************************/
Original file line number Diff line number Diff line change 1414< div id ="panes ">
1515 < div class ="tooltipContainer ">
1616 < p id ="switch " data-i18n-tip ="popupPowerSwitchInfo " data-tip-position ="under "> < span class ="fa "> </ span > </ p >
17+ < p id ="basicTools ">
18+ < span id ="gotoZap " class ="fa tool " data-i18n-tip ="popupTipZapper " data-tip-position ="under "> </ span >
19+ < span id ="gotoPick " class ="fa tool " data-i18n-tip ="popupTipPicker " data-tip-position ="under "> </ span >
20+ < a href ="logger-ui.html " class ="fa tool enabled " data-i18n-tip ="popupTipLog " data-tip-position ="under "> </ a >
21+ </ p >
1722 < h2 id ="dfToggler " data-i18n ="popupBlockedRequestPrompt "> </ h2 >
1823 < p class ="statName ">
19- < span data-i18n ="popupBlockedOnThisPagePrompt "> </ span >  <!--
20- --> < span id ="gotoZap " class ="fa tool " data-i18n-tip ="popupTipZapper "> </ span >  <!--
21- --> < span id ="gotoPick " class ="fa tool " data-i18n-tip ="popupTipPicker "> </ span >  <!--
22- --> < a href ="logger-ui.html " class ="fa tool enabled " data-i18n-tip ="popupTipLog "> </ a >
24+ < span data-i18n ="popupBlockedOnThisPagePrompt "> </ span >
2325 </ p >
2426 < p class ="statValue " id ="page-blocked "> ?</ p >
2527 < div id ="refresh " class ="fa "> </ div >
You can’t perform that action at this time.
0 commit comments