Is there any workaround to customize the tab hover card of chrome 78+? By customize I mean to change the text of the hover card.
The page was opened blank and then html text is added using write function. Then I changed the title.
var win = window.open();
win.document.write(htmlText);
win.document.title = htmlFileName
My actual problem is, when I hover a tab it shows 'Loading...' instead of the actual title(value of htmlFileName
).
"I know that it is not a good move to ask the user to set the chrome flag tab-hover-cards to disabled" Also, the solution should support ie9+
Adding win.document.close() doesnt keep the tab in the loading state.
The above piece of code worked for me.