Custom New Tab Page 的评价
Custom New Tab Page 作者: MethodGrab
MethodGrab 的回应
开发者回应
发布于 7 年前Thanks for your review.
Unfortunately this is not something that can be fixed.
The way this addon avoids changing the address bar content is by creating an iframe and displaying your chosen site in that iframe. The problem is that sites (like Google) can set an HTTP header that blocks other sites (like this addon) from displaying their pages inside an iframe.
If you look in the addon options page, next to where you choose the URL, it does warn you about this by saying "The site must allow iframe embedding or it won't work".
However, in your case, I don't really understand the use case for having google.com as your new tab page if you can just search straight from the address bar? Maybe Firefox address bar "smart keywords" would work better so you could just type something like "img my icon" in the address bar and be taken straight to the Google image search results for "my icon". Here's a Firefox post about using "smart keywords" if you're interested https://support.mozilla.org/en-US/kb/how-search-from-address-bar.
Unfortunately this is not something that can be fixed.
The way this addon avoids changing the address bar content is by creating an iframe and displaying your chosen site in that iframe. The problem is that sites (like Google) can set an HTTP header that blocks other sites (like this addon) from displaying their pages inside an iframe.
If you look in the addon options page, next to where you choose the URL, it does warn you about this by saying "The site must allow iframe embedding or it won't work".
However, in your case, I don't really understand the use case for having google.com as your new tab page if you can just search straight from the address bar? Maybe Firefox address bar "smart keywords" would work better so you could just type something like "img my icon" in the address bar and be taken straight to the Google image search results for "my icon". Here's a Firefox post about using "smart keywords" if you're interested https://support.mozilla.org/en-US/kb/how-search-from-address-bar.