2012-02-05 16:43:48 +00:00
|
|
|
#include "Command.h"
|
|
|
|
|
|
|
|
class WebPage;
|
|
|
|
|
|
|
|
class CurrentUrl : public Command {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2012-03-16 23:58:58 +00:00
|
|
|
CurrentUrl(WebPage *page, QStringList &arguments, QObject *parent = 0);
|
|
|
|
virtual void start();
|
2012-02-05 16:43:48 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool wasRegularLoad();
|
|
|
|
bool wasRedirectedAndNotModifiedByJavascript();
|
|
|
|
};
|
|
|
|
|