ErikR
ErikR

Reputation: 52039

is safari extension global page JS able to modify a tab's DOM?

This page describes the Windows and Tabs api for Safari extensions:

The Windows and Tabs API

My question is: Does Javascript loaded in the global page have the ability to manipulate a tab's DOM?

Or, do I have to inject JS into a page as a Start / End Script in order to get access to a tab's DOM?

Upvotes: 0

Views: 180

Answers (1)

chulster
chulster

Reputation: 2829

Do I have to inject JS into a page as a Start / End Script in order to get access to a tab's DOM?

Yes.

Upvotes: 1

Related Questions