40 |
39 |
41 self.__disabledScripts = [] |
40 self.__disabledScripts = [] |
42 self.__scripts = [] |
41 self.__scripts = [] |
43 self.__downloaders = [] |
42 self.__downloaders = [] |
44 |
43 |
45 self.__interceptor = GreaseMonkeyUrlInterceptor(self) |
|
46 WebBrowserWindow.networkManager().installUrlInterceptor( |
|
47 GreaseMonkeyUrlInterceptor(self)) |
|
48 |
|
49 QTimer.singleShot(0, self.__load) |
44 QTimer.singleShot(0, self.__load) |
50 |
|
51 def __del__(self): |
|
52 """ |
|
53 Special method called during object destruction. |
|
54 """ |
|
55 WebBrowserWindow.networkManager().removeUrlInterceptor( |
|
56 self.__interceptor) |
|
57 |
45 |
58 def showConfigurationDialog(self, parent=None): |
46 def showConfigurationDialog(self, parent=None): |
59 """ |
47 """ |
60 Public method to show the configuration dialog. |
48 Public method to show the configuration dialog. |
61 |
49 |