Opera 12.15 Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

module.tweaks 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. # Features light ---
  2. TWEAK_DOCHAND_PREFS_CONTENT deprecated
  3. Enables downloading of preferences and site specific behaviour
  4. from external (non Opera) sources. This may be a security
  5. concern, and probably isn't needed or wanted, and needs to be
  6. partially reimplemented to work cross-platform, so has been
  7. completely disabled.
  8. TWEAK_DOCHAND_USE_AFILEDIALOG jl
  9. Enable or disable AFileDialog SaveAs functionality.
  10. AFileDialogs is a platform filedialog that is modal.
  11. Category : setting
  12. Define : DOCHAND_USE_AFILEDIALOG
  13. Depends on: FEATURE_SAVE
  14. TWEAK_DOCHAND_CLEAR_RAMCACHE_ON_STARTPROGRESS jl
  15. If enabled, the RAM cache will be cleared when
  16. Window::StartProgressDisplay is called. Eg when loading new
  17. pages or new images on the current page.
  18. Category : memory, performance
  19. Define : DOCHAND_CLEAR_RAMCACHE_ON_STARTPROGRESS
  20. TWEAK_DOCHAND_SKIP_REFRESH_ON_BACK stighal
  21. If enabled, Opera will skip pages in history that only redirects
  22. to another page using http-equiv and a timeout less than
  23. the seconds specified by TWEAK_DOCHAND_SKIP_REFRESH_SECONDS.
  24. Category : workaround
  25. Define : SKIP_REFRESH_ON_BACK
  26. Depends on: nothing
  27. TWEAK_DOCHAND_SKIP_REFRESH_SECONDS stighal
  28. If TWEAK_DOCHAND_SKIP_REFRESH_ON_BACK is enabled, Opera will skip
  29. pages in history that only redirects to another page using
  30. http-equiv and a timeout less than the seconds specified.
  31. Category : workaround
  32. Define : SKIP_REFRESH_SECONDS
  33. Value : 5
  34. Depends on: TWEAK_DOCHAND_SKIP_REFRESH_ON_BACK
  35. TWEAK_DOCHAND_ASK_BEFORE_SUBMIT_TO_MAILTO jl
  36. If enabled, a Yes/No dialog is displayed before submitting a
  37. form to a mailto: target URL, allowing the user to abort the
  38. submission. If disabled, such submissions are performed
  39. unconditionally instead.
  40. Category : setting
  41. Define : DOCHAND_ASK_BEFORE_SUBMIT_TO_MAILTO
  42. Depends on: nothing
  43. Disabled for: mini
  44. TWEAK_DOCHAND_USE_ONDOWNLOADREQUEST jl
  45. When enabled, unknown content is handled signalled through a call
  46. to OpDocumentListener::OnDownloadRequest. If not enabled,
  47. different platform specific things will be done, or nothing at
  48. all. See Window::AskAboutUnknownDoc.
  49. In the future this will be mandatory, possibly after improving
  50. the involved windowcommander API:s.
  51. Category : setting
  52. Define : DOCHAND_USE_ONDOWNLOADREQUEST
  53. Depends on: nothing
  54. Enabled for: mini
  55. TWEAK_DOCHAND_SCROLL_TO_ACTIVE_ELM_ON_RESIZE mstensho
  56. If there is an active element (e.g. form input element or active
  57. spatial navigation element), attempt to keep it within the visual
  58. viewport after a window resize. This is useful in environments
  59. where e.g. a virtual keyboard pops up when a form element is focused
  60. (and thereby reduces the size of the window).
  61. Category : setting
  62. Define : SCROLL_TO_ACTIVE_ELM_ON_RESIZE
  63. Depends on: nothing
  64. Enabled for: smartphone, tv
  65. Disabled for: desktop, minimal, mini
  66. TWEAK_DOCHAND_MIN_DOC_ZOOM jl
  67. Defines minimum document zoom set by SetScale and SetTextScale
  68. in percent. Values above 100 is not legal. 20 means that the
  69. screen can be zoomed so that every document pixel uses
  70. 0.2 screen pixels.
  71. Category : setting
  72. Define : DOCHAND_MIN_DOC_ZOOM
  73. Value : 20
  74. Depends on : nothing
  75. Disabled for : desktop, tv, minimal, smartphone, mini
  76. Enabled for : none
  77. TWEAK_DOCHAND_MAX_DOC_ZOOM jl
  78. Defines maximum document zoom set by SetScale and SetTextScale
  79. in percent. Values below 100 are not legal. 1000 means that the
  80. screen can be zoomed so that every document pixel uses 10
  81. screen pixels.
  82. Category : setting
  83. Define : DOCHAND_MAX_DOC_ZOOM
  84. Value : 1000
  85. Depends on : nothing
  86. Disabled for: desktop, tv, minimal, smartphone, mini
  87. Enabled for : none
  88. TWEAK_DOCHAND_LIMIT_PARA_WIDTH_IGNORE_MODES kevinor
  89. Used by Mini and Mobile to ensure that the result of
  90. GetLimitParagraphWidth doesn't depend on ERA mode or layout
  91. mode.
  92. Category : workaround
  93. Depends on : nothing
  94. Define : LIMIT_PARA_WIDTH_IGNORE_MODES
  95. Disabled for: desktop, tv, minimal
  96. Enabled for : mini, smartphone
  97. TWEAK_DOCHAND_DONT_UPDATE_VISITED_LINKS kevinor
  98. Makes WindowManager::UpdateVisitedLinks a no-op.
  99. Used by Mini to prevent visited links information leaking
  100. across different users.
  101. Category : setting
  102. Depends on : nothing
  103. Define : DONT_UPDATE_VISITED_LINKS
  104. Disabled for: desktop, tv, minimal, smartphone
  105. Enabled for : mini
  106. TWEAK_DOCHAND_MAX_FRAMES_ON_PAGE pstanek
  107. Determines the maximum number of frames within a page which
  108. are allowed to load a content. In all frames above this limit
  109. about:blank is loaded.
  110. It's mainly a protection against accidental frames recursion.
  111. However it's not a protection against malicious pages since
  112. they can accomplish high memory usage in other ways.
  113. 0 means: no limit
  114. Category : setting
  115. Depends on : nothing
  116. Define : DOCHAND_MAX_FRAMES_ON_PAGE
  117. Value : 1000
  118. Value for minimal : 100
  119. Disabled for : desktop, tv, smartphone, mini
  120. TWEAK_DOCHAND_RESET_ENCODING_ON_NEW_DOCUMENT marcusc
  121. Reset the forced character encoding setting for the current window when
  122. moving to a new position in history. See DSK-120311 for details.
  123. Category : workaround
  124. Depends on : nothing
  125. Define : RESET_ENCODING_ON_NEW_DOCUMENT
  126. Enabled for : desktop, tv, minimal, smartphone
  127. Disabled for : mini
  128. TWEAK_DOCHAND_STORE_RESPONSE_HEADERS_FOR_TOP_DOC jwisniowski
  129. When turned on, all response headers for the top document will be stored
  130. (URL::KStoreAllHeaders flag will be set on the top documents URL).
  131. Category : setting
  132. Depends on : nothing
  133. Define : STORE_RESPONSE_HEADERS_FOR_TOP_DOC
  134. Disabled for: desktop, tv, minimal, smartphone
  135. Enabled for : mini
  136. TWEAK_DOCHAND_HISTORY_SAVE_ZOOM_LEVEL jank
  137. When turned on, all documents in history will have their given zoom level.
  138. Category : setting
  139. Depends on : nothing
  140. Define : DOCHAND_HISTORY_SAVE_ZOOM_LEVEL
  141. Disabled for : tv, minimal, smartphone, mini
  142. Enabled for : desktop