736
edits
mNo edit summary |
mNo edit summary Tags: Mobile edit Mobile web edit |
||
Line 357: | Line 357: | ||
$( "<label>" ) | $( "<label>" ) | ||
.attr( "for", "siNormalize" ) | .attr( "for", "siNormalize" ) | ||
.text( ' | .text( '顯示“標準化”連結?' ), | ||
$( "<input>" ) | $( "<input>" ) | ||
.attr( { "id": "siMove", "type": "checkbox" } ) | .attr( { "id": "siMove", "type": "checkbox" } ) | ||
Line 365: | Line 365: | ||
$( "<label>" ) | $( "<label>" ) | ||
.attr( "for", "siMove" ) | .attr( "for", "siMove" ) | ||
.text( ' | .text( '顯示"移動"連結?' ) ) ); | ||
if( scriptCount > NUM_SCRIPTS_FOR_SEARCH ) { | if( scriptCount > NUM_SCRIPTS_FOR_SEARCH ) { | ||
container.append( $( "<div>" ) | container.append( $( "<div>" ) | ||
Line 405: | Line 405: | ||
" (", | " (", | ||
$( "<a>" ) | $( "<a>" ) | ||
.text( " | .text( "標準化" ) | ||
.click( function () { | .click( function () { | ||
normalize( targetName ).done( function () { | normalize( targetName ).done( function () { | ||
Line 425: | Line 425: | ||
" (", | " (", | ||
$( "<a>" ) | $( "<a>" ) | ||
.text( " | .text( "解除安裝" ) | ||
.click( function () { | .click( function () { | ||
$( this ).text( " | $( this ).text( "正在解除安裝..." ); | ||
anImport.uninstall().done( function () { | anImport.uninstall().done( function () { | ||
conditionalReload( true ); | conditionalReload( true ); | ||
Line 434: | Line 434: | ||
" | ", | " | ", | ||
$( "<a>" ) | $( "<a>" ) | ||
.text( anImport.disabled ? " | .text( anImport.disabled ? "啟用" : "取消啟用" ) | ||
.click( function () { | .click( function () { | ||
$( this ).text( $( this ).text().replace( /e$/, "ing" ) ); | $( this ).text( $( this ).text().replace( /e$/, "ing" ) ); |