Simplest extension (unpacked, non-CWS) to disable JavaScript on new tab page

111 views
Skip to first unread message

guest271314

unread,
Mar 30, 2021, 10:45:15 AM3/30/21
to Chromium Extensions
What is the simplest possible extension (code) necessary to disable JavaScript on chrome://newtab.

The use case is permanently disabling tiles, cards, most visited on New Tab page.

Screenshot_2021-03-25_07-21-22.png

Alexei Miagkov

unread,
Mar 30, 2021, 12:51:06 PM3/30/21
to guest271314, Chromium Extensions
Would it just be defining "newtab" in "chrome_url_overrides" in the manifest to whatever you actually do want on the new tab page?

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/25103f2f-ab20-4f43-820f-904d75c2345bn%40chromium.org.

Cuyler Stuwe

unread,
Mar 30, 2021, 12:59:51 PM3/30/21
to Alexei Miagkov, Chromium Extensions, guest271314

guest271314

unread,
Mar 30, 2021, 11:54:09 PM3/30/21
to Chromium Extensions, Alex, Chromium Extensions, guest271314
> Would it just be defining "newtab" in "chrome_url_overrides" in the manifest to whatever you actually do want on the new tab page?

I will try.


> In general, NTPs are considered an integral part of Chrome's UI. Turning off JS will break the experience and so we don't allow this. You can also not set an arbitrary page as your NTP. This is currently by design. Closing this bug as WAI.

guest271314

unread,
Mar 31, 2021, 12:07:38 AM3/31/21
to Chromium Extensions, Alex, Chromium Extensions, guest271314
Works. Thanks.

On Tuesday, March 30, 2021 at 9:51:06 AM UTC-7 Alex wrote:

ilyaigpetrov

unread,
Mar 31, 2021, 10:06:43 AM3/31/21
to Chromium Extensions, guest...@gmail.com, Alex, Chromium Extensions
I've developed [1] and use it myself -- maybe it will fit you too.

guest271314

unread,
Apr 1, 2021, 10:13:30 AM4/1/21
to Chromium Extensions, ilyaigpetrov, guest271314, Alex, Chromium Extensions
> (unpacked, non-CWS)

ilyaigpetrov

unread,
Apr 1, 2021, 10:15:49 AM4/1/21
to Chromium Extensions, guest...@gmail.com, ilyaigpetrov, Alex, Chromium Extensions
>> (unpacked, non-CWS)

You may find unpacked version here: https://github.com/ilyaigpetrov/absolutely-blank-new-tab-page.
Reply all
Reply to author
Forward
0 new messages