File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,11 +52,9 @@ function displayURL() {
5252 originURLLink . href = originURL ;
5353
5454 openURLButton . addEventListener ( "click" , function ( ) {
55- if ( confirm ( chrome . i18n . getMessage ( "cancel_open_page" ) + '?' ) ) {
56- sendMessage ( "disable_on_site" , url . host , ( ) => {
57- window . location = originURL ;
58- } ) ;
59- }
55+ sendMessage ( "disable_on_site" , url . host , ( ) => {
56+ window . location = originURL ;
57+ } ) ;
6058
6159 return false ;
6260 } ) ;
@@ -117,11 +115,9 @@ function displayURL() {
117115 } ) ;
118116
119117 openHttpOnce . addEventListener ( "click" , function ( ) {
120- if ( confirm ( chrome . i18n . getMessage ( "cancel_http_once" ) + '?' ) ) {
121- sendMessage ( "disable_on_site_once" , url . host , ( ) => {
122- window . location = originURL ;
123- } ) ;
124- }
118+ sendMessage ( "disable_on_site_once" , url . host , ( ) => {
119+ window . location = originURL ;
120+ } ) ;
125121
126122 return false ;
127123 } ) ;
You can’t perform that action at this time.
0 commit comments