MethodGrab / firefox-custom-new-tab-page

A Firefox extension that allows you to specify a custom new-tab URL
https://addons.mozilla.org/firefox/addon/custom-new-tab-page
ISC License
76 stars 18 forks source link

Site must allow iframing #12

Closed MethodGrab closed 3 years ago

MethodGrab commented 4 years ago

The technique this extension uses to keep focus in the address bar means the site you choose as your new tab page must allow iframing.

Sites that set the X-Frame-Options: DENY or X-Frame-Options: SAMEORIGIN header will not load inside the new tab page. Instead you will see a Blocked by X-Frame-Options Policy error:

image

niyumard commented 3 years ago

Is it possible that the addon opens link in a new tab and closes the current tab? That'd be a nice workaround. Also going to URLs using javascript and changing window.location works. This could be another workaround.

MethodGrab commented 3 years ago

Is it possible that the addon opens link in a new tab and closes the current tab? That'd be a nice workaround. Also going to URLs using javascript and changing window.location works. This could be another workaround.

@niyumard I think you're talking about #1.
This issue is about some sites being unable to be used as the new tab URL, which #19 should fix.

MethodGrab commented 3 years ago

Published on AMO as v1.0.0.