我需要在 FireFox 中编写关闭具有特定标题的选项卡的脚本。是否有与下面的 AppleScript 示例等效的 FireFox?
关闭 Safari 中的标签页:
tell application "Safari"
delete (every tab of every window where its name contains "[done]")
end tell
在 Chrome 中关闭标签页:
tell application "Google Chrome"
delete (every tab of every window where its title contains "[done]")
end tell