I want to be able to diff the source of two pages, or even plain text files that are open in two browser windows. The only thing I can find is the PageDiff plugin for Firefox, but is there anything else available (for any browser)?
I dont know of a tool specific for this, but winmerge is an excellent diffing tool and you can open a new window and paste the source from both pages into the 2 panes and do a diff. A little bit of extra work but will work.
I can see where you are coming from,
But, why not just do a wget on the two files and compare with the regular diff utilities?
This might help out. You can use a pastebin service to do this. I like http://dpaste.de so these instructions are based on that site.
- Create a new paste item by copying and pasting the first page's source code into the text area (be sure to select HTML as the language type).
- After you save the pasted item, you will be directed to the view item page. Scroll to the bottom of that page and click "Write and Answer"
- On the Write and Answer page, delete the content and paste in the source of the second HTML page you want to diff.
- After saving your answer, you will be directed to another view item page. You will see a History table in the upper right corner of the page. Select the two pages you want to diff and click the "Compare" button to view the diffs in your browser.
It requires a bit of copy/pasting, but overall it's a pretty quick way to get a diff of two files.
I'm on linux, so I get the two webpages, and type (diff -u -p -N file1.html file2.html > some_diff_file), and after this, I use kdiff.