File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
starters/chrome/extension/lib Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ const chatgpt = {
606
606
} else { // auto-save to file
607
607
608
608
if ( format == 'md' ) { // remove extraneous HTML + fix file extension
609
- const mdMatch = / < .* (?: < h 1 ( .| \n ) * ?h r e f = " .* ?c o n t i n u e [ ^ " ] * " .* ?\/ a > .* ?) < [ ^ / ] / . exec ( transcript ) [ 1 ] ;
609
+ const mdMatch = / < .* < h 1 ( .| \n ) * ?h r e f = " .* ?c o n t i n u e [ ^ " ] * " .* ?\/ a > .* ?< [ ^ / ] / . exec ( transcript ) [ 1 ] ;
610
610
transcript = mdMatch || transcript ; filename = filename . replace ( '.html' , '.md' ) ;
611
611
}
612
612
const blob = new Blob ( [ transcript ] ,
@@ -1255,7 +1255,7 @@ const chatgpt = {
1255
1255
+ 'opacity: 0 ; position: fixed ; z-index: 9999 ; font-size: 1.8rem ; color: white ;' // visibility
1256
1256
+ '-webkit-user-select: none ; -moz-user-select: none ; -ms-user-select: none ; user-select: none ;'
1257
1257
+ `transform: translateX(${ ! notificationDiv . isRight ? '-' : '' } 35px) ;` // init off-screen for transition fx
1258
- + ( shadow ? ( 'box-shadow: -8px 13px 25px 0 ' + ( / \b (?: s h a d o w | o n ) \b / gi . test ( shadow ) ? 'gray' : shadow ) ) : '' ) + '}'
1258
+ + ( shadow ? ( 'box-shadow: -8px 13px 25px 0 ' + ( / \b (?: s h a d o w | o n ) \b / i . test ( shadow ) ? 'gray' : shadow ) ) : '' ) + '}'
1259
1259
+ '.notif-close-btn { cursor: pointer ; float: right ; position: relative ; right: -4px ; margin-left: -3px ;'
1260
1260
+ 'display: grid }' // top-align for non-OpenAI sites
1261
1261
+ '@keyframes notif-zoom-fade-out { 0% { opacity: 1 ; transform: scale(1) }' // transition out keyframes
You can’t perform that action at this time.
0 commit comments