Closed Bug 392035 Opened 17 years ago Closed 17 years ago

AppleScript: Implement "tab's source"

Categories

(Camino Graveyard :: OS Integration, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 374648

People

(Reporter: peeja, Unassigned)

Details

It would be great to be able to get the source of a tab via AppleScript. I wanted to make this part of my SoC project, but it looks like it's gong to be too involved and beyond the scope of the project. I can't find a simple BrowserWrapper call to get the browser's source. I haven't looked into the actual Gecko calls, but I get the feeling there's nothing useful there either. It looks like the way we view source is by opening "view-source:<url>" and hopefully hitting the cache. That's ugly enough for viewing source; it's uglier for AS, since it means replicating that "request" and diverting the output to a string we can pass back to the script.
Erm...it's not. Thanks, Smokey. Totally forgot this was already filed.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.