The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Save changes to file

Forums » Dev.Opera » Opera Dragonfly Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

12. November 2011, 18:32:28

Celadyn

Posts: 33

Save changes to file

Hi, I'm new to Opera Dragonfly and don't really understand the concept of it.

I'm not a developer, I just use Dragonfly to edit documents before I save them locally (help files, news articles, tutorials, etc.)

What I'm trying to do now is:
1. open a local HTML file
2. make the desired changes to the source code
3. save the file with all the changes made...

and that's where it stops. I have absolutely no idea how to do that.
When I go to the corresponding tab and save the currently edited file, then Opera saves the original file without any changes and when I view the source code, it's just the same thing.

So, would anybody be so kind and tell me how this thing works?

23. November 2011, 13:00:14

reytanc2011

Posts: 1

Can you present me how did it so I can help you out.

25. June 2013, 08:26:37

proviks

Posts: 1

Opera includes a simpler tool for analyzing and modifying Web pages, the source viewer. If you want to have a look at the source code of the current Web page, go to View > Source, or press ⌘+F3, or Ctrl-click the page and select "Source".

The source viewer opens in a new tab on your tab bar, and has syntax highlighting to give you a better overview of the source. If you want to edit the page, you have two options:
Save to cache and see your changes applied immediately by clicking "Apply changes", or pressing ⌘+R.
Save to a location of your choice by clicking "Save", or pressing ⌘+S.

Note that if you are editing a locally saved document "Apply changes" will permanently save your changes.

If you prefer to use an external program for source viewing and editing, you can specify this in the programs preferences.

25. June 2013, 09:15:26

j7n

Banned user

The post was one and a half years old.

Dragonfly can prove useful, when testing a webpage edited for offline storage, to see if all references to online sournces have been correctly replaced or removed. But it's too slow to be a source editor.

25. June 2013, 20:13:21

pannebaker

Posts: 46

Celadyn, I've shared your frustration, but here's what I do now.

Open the webpage you want to edit, (with Opera) > right click on the page > Source. This opens a new screen that shows your source code. Edit your source as you like, then hit Control+R, (or, click Apply Changes), to save your edits. When you go back to your tab showing the page, it will reflect your edits. (This is the same thing provic was suggesting, above, except he must be on a Mac; I'm in Windows.)

At the same time, I have that same webpage open (in Opera) on a second machine. On that machine, hit Control+Shift+I, (upper case letter i). That opens Dragonfly, which is very useful. You can click on an element on your page, and Dragonfly will tell you all the formatting applied to that element, and which style definition it comes from. (Hit this page's refresh icon after editing your source.)

(That "second machine" part isn't essential, just convenient; you can use a second window on your same machine. Open it with Control+N. But, I use a laptop for my second machine, and have a spare monitor plugged into it. So, I can see Dragonfly's diagnostics on one screen, the webpage I'm editing on the other, and have the source screen up on my main machine, all at the same time. Very convenient!)

Questions?

Forums » Dev.Opera » Opera Dragonfly Discussions