eisnerguy2

webone.conf

Feb 25th, 2025
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.72 KB | None | 0 0
  1. ; WebOne Configuration File
  2. ; Its format is like INI, but also can contain raw lists inside some sections.
  3. ; For binary options use: 1/0, y/n, yes/no, on/off, enable/disable, true/false.
  4. ; Help and documentation: https://github.com/atauenis/webone/wiki/Configuration-file
  5.  
  6. [Server]
  7. ; Server settings
  8. ; Port=Port to listen for incoming connections
  9. ; DefaultHostName=Proxy's host name (set to valid IP or domain name for use with/on Linux or macOS)
  10. ; Authenticate=Set if the proxy needs to be protected by "login:password" or leave blank
  11. ; OutputEncoding=Codepage for patched output content (list of available: http://localhost/!codepages/)
  12. ; UseMsHttpApi=Enable if you have problems with communicating with the proxy (but will disable SSL&FTP)
  13. ; HideClientErrors=Hide client connection error messages in log (for Netscape 3 PNG rejections)
  14. ; SearchInArchive=Enable searching for unavailable pages (Server Not Found or 404) in archive.org
  15. ; HideArchiveRedirect=Display archived pages just as they are still live
  16. ; ArchiveUrlSuffix=May be "fw_" to hide archive.org toolbar or "id_" to keep original links
  17. ; ShortenArchiveErrors=Enable shortening of 404s on web.archive.org to get off large scipts and images
  18. ; ArchiveDateLimit=Upper limit of date for web.archive.org archived pages
  19. ; EnableManualConverting=Allow manual run of file converters (will not affect converting in Edit Sets)
  20. ; SecurityProtocols=Forcely set SSL/TLS protocols that can be used for retrieving web content
  21. ; ValidateCertificates=Break network operations when the remote TLS certificate is bad
  22. ; MultipleHttp2Connections=Allow multiple HTTP/2 connections to servers
  23. ; RemoteHttpVersion=Version of HTTP(S) protocol, used to communicate with servers (min/max/exact)
  24. ; UpperProxy=Another proxy server, used by WebOne to connect to Internet (optional)
  25. ; UserAgent=Override user-agent string to fetch uncut content
  26. ; AllowHttpCompression=Uncomment & disable to fix work of WSUS or LegacyUpdate (but proxy will slow)
  27. ; TemporaryDirectory=Directory which should be used for temporary files (%TEMP%, $TEMP or any other)
  28. ; LogFile=Path to server log file. To use a log file without erasing, use AppendLogFile instead
  29. ; DisplayStatusPage=Set status page display style (no, short, full) or file name
  30. ; ContentDirectory=Location of internal pages' HTML (CSS, JS, GIF, etc) files
  31. Port=8080
  32. DefaultHostName=%HostName%
  33. ;Authenticate=login:password
  34. OutputEncoding=AsIs
  35. ;OutputEncoding=Windows
  36. ;OutputEncoding=DOS
  37. ;OutputEncoding=Apple
  38. UseMsHttpApi=no
  39. HideClientErrors=yes
  40. SearchInArchive=yes
  41. HideArchiveRedirect=yes
  42. ArchiveUrlSuffix=fw_
  43. ShortenArchiveErrors=yes
  44. ;ArchiveDateLimit=20070101
  45. EnableManualConverting=yes
  46. ;SecurityProtocols=Tls, Tls11, Tls12
  47. ValidateCertificates=yes
  48. MultipleHttp2Connections=yes
  49. ;RemoteHttpVersion=>1.1
  50. ;UpperProxy=http://corporateproxyserver:80/
  51. ;UpperProxy=no
  52. UserAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
  53. ;UserAgent=%Original% WebOne/%WOVer%
  54. ;UserAgent=Mozilla/4.75 [en] (Windows NT 5.0; U)
  55. ;UserAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
  56. ;AllowHttpCompression=no
  57. TemporaryDirectory=%TEMP%
  58. ;LogFile=%SYSLOGDIR%/webone.log
  59. AppendLogFile=%SYSLOGDIR%/webone.log
  60. DisplayStatusPage=short
  61. ;DisplayStatusPage=simple.htm
  62. ContentDirectory=/html
  63.  
  64.  
  65. [SecureProxy]
  66. ; HTTPS proxy options
  67. ; SslEnable=Enable Secure proxy mode
  68. ; SslCertificate=Path to CA Certificate file (PEM)
  69. ; SslPrivateKey=Path to CA Certificate Private Key file (PEM)
  70. ; SslProtocols=Versions of SSL/TLS used to communicate with clients (System.Security.Authentication.SslProtocols)
  71. ; SslCipherSuites=Long list of SSL/TLS cipher suites used to communicate with clients (System.Net.Security.TlsCipherSuite)
  72. ; SslRootValidAfter, SslRootValidBefore=Begin and end of life period of CA Certificate
  73. ; SslCertVaildBeforeNow, SslCertVaildAfterNow=Begin and end of life period of site certificates (relative to today)
  74. ; SslHashAlgorithm=Hashing algorithm for certificates (MD5, SHA1 is ok for old browsers; SHA256 for modern)
  75. ; SslSiteCerts=Path to site certificate files (if use external generator)
  76. ; SslSiteCertGenerator=External utility which will generate site certificates and private keys
  77. ; AllowNonHttpsCONNECT=Allow use HTTPS proxy tunnel (CONNECT method) with non-HTTPS protocols
  78. SslEnable=yes
  79. SslCertificate=%WOConfigDir%/ssl.crt
  80. SslPrivateKey=%WOConfigDir%/ssl.key
  81. SslProtocols=Ssl2, Ssl3, Tls, Tls11, Tls12
  82. ;SslCipherSuites=TLS_RSA_WITH_NULL_MD5, TLS_RSA_WITH_RC4_128_MD5, TLS_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA
  83. SslRootValidAfter=1970-01-01 00:00:00+0
  84. SslRootValidBefore=2070-12-31 23:59:00+0
  85. SslCertVaildBeforeNow=-7
  86. SslCertVaildAfterNow=7
  87. SslHashAlgorithm=SHA1
  88. ;SslSiteCerts=/var/webone/ssl/%Subject%
  89. ;SslSiteCertGenerator=openssl --do --some-magic /var/webone/ssl/%Subject% --ca %WOConfigDir%/ssl.crt
  90. AllowNonHttpsCONNECT=true
  91.  
  92.  
  93. [ForceHttps]
  94. ; list of domains that should be always accessed via HTTPS
  95. phantom.sannata.org
  96. www.phantom.sannata.org
  97. login.vk.com
  98. m.vk.com
  99. vk.com
  100. webdav
  101. webdav.yandex.ru
  102. web.archive.org
  103. googlevideo.com
  104. commondatastorage.googleapis.com
  105. u.icq.net
  106. msnmsgr.escargot.chat
  107. rutracker.org
  108. www.vogons.org
  109. mastodon.social
  110.  
  111.  
  112.  
  113. [ForceUtf8]
  114. ; list of URLs that should be always downloaded as UTF-8
  115. ^http://.*yandex.ru/
  116.  
  117.  
  118. [TextTypes]
  119. ; list of MIME type mask that means files which should be patched during transfer
  120. text/
  121. javascript
  122. json
  123. cdf
  124. x-netcdf
  125. x-cdf
  126. xml
  127.  
  128.  
  129. [Converters]
  130. ; Whitelist of known local format converters
  131. convert %SRC% %ARG1% %DESTEXT%:- %ARG2%
  132. magick %SRC% %ARG1% %DEST% %ARG2%
  133. ffmpeg -i pipe: %ARG1% pipe:
  134.  
  135.  
  136. ; Save a dump of HTTP traffic
  137. ; Use only for debug purposes!
  138. ; uncomment section below to enable traffic sniffing
  139. ;[Edit]
  140. ;AddDumping=dump-%Url%.log
  141.  
  142.  
  143. ; Sets of traffic edits
  144. [Edit:jquery.min.js]
  145. ; Redirect all requests to jQuery of versions other than 1.9.1 to Google's CDN with
  146. ; the last version supported by Firefox 3.6. This will not touch WebDAV traffic.
  147. ; Title: RegExp mask of URLs that should be touched by this Set of edits.
  148. ; IgnoreUrl: RegExp mask(s) of URLs which should NOT be touched by this Set of edits.
  149. ; OnUrl: additional URL RegExp masks not listed in section's title.
  150. ; AddRedirect: the destination URL of this redirection rule
  151. IgnoreUrl=1.9.1
  152. IgnoreUrl=webdav
  153. OnUrl=jquery2.js
  154. OnUrl=jquery-[0-9]*\.[0-9]*\.[0-9]*\.min\.js
  155. IgnoreUrl=webdav
  156. AddRedirect=http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
  157.  
  158. [Edit:jquery-ui.js]
  159. ; similar to jquery main file, but for jquery-ui
  160. IgnoreUrl=1.9.1
  161. IgnoreUrl=webdav
  162. OnUrl=jquery-ui[a-z0-9\.\-]*.js
  163. AddRedirect=http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  164.  
  165. [Edit:bootstrap.min.js]
  166. IgnoreUrl=2.3.1
  167. IgnoreUrl=webdav
  168. AddRedirect=http://maxcdn.bootstrapcdn.com/bootstrap/2.3.1/js/bootstrap.min.js
  169.  
  170.  
  171. [Edit:(^http://.*/styles/prosilver/theme/)(.*)]
  172. ; downgrade stylesheets of phpBB proSilver skin to version 3.0 on old browsers
  173. OnHeader=User-Agent: .*MSIE [3456]
  174. OnHeader=User-Agent: Mozilla/3
  175. OnHeader=User-Agent: Mozilla/4
  176. IgnoreUrl=webdav
  177. AddRedirect=http://atauenis.github.io/webone-webfixes/prosilver/theme/$2
  178.  
  179.  
  180. [Edit:^http://super8russia.ning.com]
  181. ; another example of redirect, but to Wayback Machine
  182. ; IgnoreUrl is not need here (the RegExp used here is quite detailed)
  183. AddRedirect=http://web.archive.org/web/2010/%URL%
  184.  
  185.  
  186. [Edit::443]
  187. ; another example of redirect, but with remove of 443 port (final murder of SSL)
  188. ; the redirect is internal (hidden, seamless) so we're using AddInternalRedirect here
  189. AddInternalRedirect=%UrlNoPort%
  190.  
  191. [Edit:^http://web.archive.org/web/([0-9]*)/(.*)]
  192. ; Disable Web Archive toolbar on archived pages
  193. AddInternalRedirect=http://web.archive.org/web/$1fw_/$2
  194.  
  195. ; Dead hosting providers
  196. [Edit:^(http://www\.|http://)geocities.com/]
  197. AddRedirect=http://web.archive.org/web/2008/%URL%
  198.  
  199. [Edit:^http://web.ukonline.co.uk/]
  200. AddRedirect=http://web.archive.org/web/2007/%URL%
  201.  
  202. [Edit:^(http://www\.|http://)narod.ru/]
  203. AddRedirect=http://web.archive.org/web/2012/http://narod.yandex.ru/%UrlNoDomain%
  204.  
  205. [Edit:^http://narod.yandex.ru/]
  206. AddRedirect=http://web.archive.org/web/2012/%URL%
  207.  
  208. [Edit:^http://.*.by.ru/]
  209. IgnoreUrl=web.archive.org
  210. AddRedirect=http://web.archive.org/web/2011/%URL%
  211.  
  212.  
  213. ; Microsoft software interactivity
  214. ; Microsoft Internet Explorer
  215. [Edit]
  216. OnUrl=^(http://www\.|http://)microsoft.com/IE]
  217. OnUrl=^(http://www\.|http://)microsoft.com/ie]
  218. AddRedirect=http://web.archive.org/web/1997/%URL%
  219.  
  220. [Edit:^(http://www\.|http://)iechannelguide.com]
  221. AddRedirect=http://web.archive.org/web/1997/%URL%
  222.  
  223. [Edit:^http://ie.search.msn.com/]
  224. AddRedirect=http://web.archive.org/web/2000/%URL%
  225.  
  226. [Edit:^(?:http://www\.|http://)microsoft.com/windows/ie/(.*)/download/rtw/x86/ie[0-9]sites.dat]
  227. AddRedirect=http://atauenis.github.io/webone-webfixes/iesetup/SITES-$1.dat
  228.  
  229. [Edit:^(?:http://www\.|http://)microsoft.com/ie/ie(.*)/download/rtw/x86/IE[0-9]SITES.DAT]
  230. AddRedirect=http://atauenis.github.io/webone-webfixes/iesetup/SITES-$1.dat
  231.  
  232. [Edit:^http://windowsupdate.microsoft.com/ident.cab]
  233. AddInternalRedirect=http://web.archive.org/web/20040801000000/http://windowsupdate.microsoft.com/ident.cab
  234.  
  235. [Edit:http://web.archive.org/web/0/http://mssjus.www.conxion.com/download/ie60/install/ie6_pp_refresh/w98nt42kme/en-us//MAILNEWS.CAB]
  236. AddRedirect=http://web.archive.org/web/20010619061300/http://download.microsoft.com:80/download/IE60/Install/IE6/WIN98Me/EN-US/MAILNEWS.CAB
  237.  
  238. ; Microsoft Data Access Components
  239. [Edit:^http://www.microsoft.com/data/download.htm]
  240. AddRedirect=http://web.archive.org/web/20030207190128/http://www.microsoft.com/data/download.htm
  241.  
  242. ; Microsoft Windows Media Player
  243. [Edit:^http://windowsmedia.com/redir/mediaguide.asp\?WMPFriendly=true.*version=7.*]
  244. AddRedirect=http://web.archive.org/web/20000815054018/http://windowsmedia.com/mediaguide/defaultalt.asp
  245.  
  246. [Edit:^http://windowsmedia.com/redir/mediaguide.asp\?WMPFriendly=true.*version=8.*]
  247. AddRedirect=http://web.archive.org/web/2002/http://windowsmedia.com/MediaGuide/Home
  248.  
  249. [Edit:^http://windowsmedia.com/redir/mediaguide.asp\?WMPFriendly=true.*version=9.*]
  250. AddRedirect=http://web.archive.org/web/2004/http://windowsmedia.com/MediaGuide/Home
  251.  
  252. [Edit:^http://windowsmedia.com/redir/mediaguide.asp\?WMPFriendly=true.*version=10.*]
  253. AddRedirect=http://web.archive.org/web/2006/http://windowsmedia.com/MediaGuide/Home
  254.  
  255. [Edit:^http://windowsmedia.com/redir/radiotuner.asp\?WMPFriendly=true.*version=7.*]
  256. AddRedirect=http://web.archive.org/web/20000511102520/http://windowsmedia.com/radiotuner/default.asp?WMPFriendly=true
  257.  
  258. [Edit:^http://windowsmedia.com/redir/radiotuner.asp\?WMPFriendly=true.*version=8.*]
  259. AddRedirect=http://web.archive.org/web/20020127155207/http://windowsmedia.com/mg/Radio.asp
  260.  
  261. [Edit:^http://windowsmedia.com/redir/radiotuner.asp\?WMPFriendly=true.*version=9.*]
  262. AddRedirect=http://web.archive.org/web/20070324112702/http://www.windowsmedia.com/mediaguide/Radio
  263.  
  264. [Edit:^http://windowsmedia.com/redir/radiotuner.asp\?WMPFriendly=true.*version=10.*]
  265. AddRedirect=http://web.archive.org/web/20070324112702/http://www.windowsmedia.com/mediaguide/Radio
  266.  
  267. [Edit:^http://windowsmedia.com/redir/services.asp\?WMPFriendly=true]
  268. AddRedirect=http://web.archive.org/web/20070503030453/http://www.windowsmedia.com/services/Services-Intl.asp?WMPFriendly=true
  269.  
  270. [Edit:^http://www.microsoft.com/isapi/redir.dll\?Prd=windows&Sbp=MediaPlayer&Pver=7.0&Ar=Galleryredir.dll.*]
  271. AddRedirect=http://web.archive.org/web/20010417185034/http://windowsmedia.com/mg/skins.asp
  272.  
  273. [Edit:^http://go.microsoft.com/fwlink/\?LinkId=32129]
  274. AddRedirect=http://onlinestores.metaservices.microsoft.com/serviceswitching/AllServices.aspx
  275.  
  276. [Edit:^http://go.microsoft.com/fwlink/\?LinkId=28433.*version=10.0]
  277. AddRedirect=http://onlinestores.metaservices.microsoft.com/serviceswitching/bas/BrowseAllServicesWMP10-1033.html
  278.  
  279. [Edit:^http://go.microsoft.com/fwlink/\?LinkId=28433.*version=11.0.5]
  280. AddRedirect=http://onlinestores.metaservices.microsoft.com/serviceswitching/bas/BrowseAllServicesWMPPL-1033.html
  281.  
  282. [Edit:^http://go.microsoft.com/fwlink/\?LinkId=28433.*version=11.0.6]
  283. AddRedirect=http://onlinestores.metaservices.microsoft.com/serviceswitching/bas/BrowseAllServicesWMPLH-1033.html
  284.  
  285. [Edit:^http://go.microsoft.com/fwlink/\?LinkId=28433.*version=12.0]
  286. AddRedirect=http://onlinestores.metaservices.microsoft.com/serviceswitching/bas/BrowseAllServicesWMP12-1033.html
  287.  
  288. [Edit:^http://www.microsoft.com/windows/windowsmedia/player/faq/stores.mspx]
  289. AddRedirect=http://web.archive.org/web/20090801080119/http://www.microsoft.com/windows/windowsmedia/player/faq/stores.mspx
  290.  
  291. [Edit:^http://images.windowsmedia.com/svcswitch/]
  292. AddRedirect=http://web.archive.org/web/0im_/%URL%
  293.  
  294. [Edit:^http://windowsmedia.com/redir/GetMDRCD.asp\?(.*)]
  295. AddRedirect=http://musicmatch-ssl.xboxlive.com/cdinfo/GetMDRCD.aspx?$1
  296.  
  297. [Edit:^http://redir.metaservices.microsoft.com/redir/getmdrcd.*\?(.*)]
  298. AddRedirect=http://musicmatch-ssl.xboxlive.com/cdinfo/GetMDRCD.aspx?$1
  299.  
  300. [Edit:^http://[a-z]*.music.metaservices.microsoft.com/cdinfo/GetMDRCD.*\?(.*)]
  301. AddRedirect=http://musicmatch-ssl.xboxlive.com/cdinfo/GetMDRCD.aspx?$1
  302.  
  303. [Edit:^http://.*?/https:/musicimage.xboxlive.com/(.*)]
  304. AddRedirect=http://musicimage.xboxlive.com/$1
  305.  
  306. [Edit:^http://windowsmedia.com/redir/QueryTOC.asp\?.*?cd=(.*)]
  307. IgnoreUrl=WMPFriendly
  308. AddRedirect=http://cddb.retrobridge.org/tunes-cgi2/tunes/disc_info/203/cd=$1
  309.  
  310. [Edit]
  311. OnUrl=^http://[a-z\.]*windowsmedia.com/
  312. OnUrl=^http://windowsmedia.com/
  313. AddRedirect=http://web.archive.org/web/2002/%URL%
  314.  
  315. ;[Edit]
  316. ;OnUrl=^http://[a-z\.]*metaservices.microsoft.com
  317. ;AddRedirect=http://web.archive.org/web/2010/%URL%
  318. ;13.09.2022 - still works (WMP 10, 11) and not well archived
  319.  
  320. ; Windows CD Player
  321. [Edit:^http://www.tunes.com/tunes-cgi2/tunes/disc_info/(.*)]
  322. AddRedirect=http://cddb.retrobridge.org/tunes-cgi2/tunes/disc_info/$1
  323.  
  324. ; Microsoft Windows Update
  325. [Edit:^http://www.update.microsoft.com/windowsupdate.*]
  326. OnUrl=^http://fe2.update.microsoft.com/windowsupdate.*
  327. OnHeader=User-Agent: .*Windows [9M].*
  328. AddRedirect=http://windowsupdaterestored.com/
  329.  
  330. [Edit:^http://www.update.microsoft.com/windowsupdate.*]
  331. OnUrl=^http://fe2.update.microsoft.com/windowsupdate.*
  332. OnHeader=User-Agent: .*Windows NT\)
  333. AddRedirect=http://windowsupdaterestored.com/
  334.  
  335. [Edit:^http://www.update.microsoft.com/windowsupdate.*]
  336. OnUrl=^http://fe2.update.microsoft.com/windowsupdate.*
  337. OnHeader=User-Agent: .*Windows NT [56]*
  338. AddRedirect=http://legacyupdate.net
  339.  
  340. ; Microsoft Office Update
  341. [Edit:^http://officeupdate.microsoft.com/office/redirect/10/MSOfficeOnTheWeb.asp]
  342. AddRedirect=http://web.archive.org/web/20021215132011/http://officeupdate.microsoft.com/office/redirect/10/english.htm?&path=msofficeontheweb.asp
  343.  
  344. [Edit:^http://office.microsoft.com/officeupdate]
  345. AddRedirect=http://web.archive.org/web/20050531233719fw_/%URL%
  346.  
  347. [Edit:^http://office.microsoft.com/([a-z]*)/ProductUpdates/(.*)]
  348. AddRedirect=http://web.archive.org/web/20020804172757/http://office.microsoft.com/$1/ProductUpdates/$2
  349.  
  350. [Edit:^http://officeupdate.microsoft.com/office/redirect/fromOffice9/MSOfficeOnTheWeb.htm.*]
  351. AddRedirect=http://web.archive.org/web/0/http://officeupdate.microsoft.com:80/office/redirect/fromOffice9/english.htm?DPC=%7b00000409-78E1-11D2-B60F-006097C998E7%7d&DCC=%7bCC29E963-7BC2-11D1-A921-00A0C91E2AA2%7d&AppName=Microsoft+Word&HelpLCID=1033&path=msofficeontheweb.htm
  352.  
  353. [Edit:^http://officeupdate.microsoft.com/office/redirect/10/]
  354. AddRedirect=http://web.archive.org/web/2003/%URL%
  355.  
  356. ; Non-localzed pages and XML data
  357. [Edit:^http://web.archive.org/web/.*/http://shell.windows.com/fileassoc/fileassoc1.asp\?LangID=(.*)&ext=(.*)]
  358. OnCode=404
  359. AddRedirect=http://web.archive.org/web/2005/http://shell.windows.com/fileassoc/0409/xml/redir.asp?Ext=$2
  360.  
  361. [Edit]
  362. OnUrl=^http://go.microsoft.com/fwlink/\?LinkId=57426&Ext=([a-zA-Z0-9\.]*)
  363. AddRedirect=http://web.archive.org/web/2009/http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=$1
  364.  
  365. [Edit:^http://web.archive.org/web/.*/http://shell.windows.com/publishwizard/]
  366. OnCode=404
  367. AddRedirect=http://web.archive.org/web/20050615234639if_/http://shell.windows.com:80/publishwizard/usa.xml
  368.  
  369. [Edit:^(http://web.archive.org/web/.*/http://onlinestores.metaservices.microsoft.com/bing/bing.xml)\?locale=]
  370. OnCode=404
  371. AddRedirect=$1
  372.  
  373. ; Microsoft Office
  374. [Edit:^http://office.microsoft.com/office/redirect/10/services.asp]
  375. AddRedirect=http://web.archive.org/web/20030417170535/http://office.microsoft.com/services/default.aspx
  376.  
  377. [Edit:^http://office.microsoft.com/office/redirect/]
  378. AddRedirect=http://web.archive.org/web/2003/%URL%
  379.  
  380. [Edit:^http://mgn.microsoft.com/mg10/tools/]
  381. AddRedirect=http://web.archive.org/web/20011213221110fw_/http://mgn.microsoft.com/mg10/tools/
  382.  
  383. [Edit:^http://mgn.microsoft.com]
  384. OnUrl=^http://insertmedia.office.microsoft.com/clipart/dglx.aspx
  385. AddInternalRedirect=http://web.archive.org/web/20031016195742id_/http://office.microsoft.com/clipart/dglx.aspx
  386.  
  387. [Edit:^http://mgn.microsoft.com]
  388. AddRedirect=http://web.archive.org/web/2001/%URL%
  389.  
  390. [Edit:^http://r.office.microsoft.com/r/hlidOfficeHomeFromClient]
  391. AddRedirect=http://web.archive.org/web/20060131190549fw_/http://office.microsoft.com/en-us/default.aspx
  392.  
  393. [Edit:^http://r.office.microsoft.com/r/hlidAsstWordFromClient]
  394. AddRedirect=http://web.archive.org/web/20060411234706fw_/http://office.microsoft.com/en-us/assistance/CH790018161033.aspx
  395.  
  396. [Edit:^http://r.office.microsoft.com/r/hlidAsstExclFromClient]
  397. AddRedirect=http://web.archive.org/web/20060423213900fw_/http://office.microsoft.com/en-us/assistance/CH790018021033.aspx
  398.  
  399. [Edit:^http://r.office.microsoft.com/r/hlidAsstPwrtFromClient]
  400. AddRedirect=http://web.archive.org/web/20060428161000fw_/http://office.microsoft.com/en-us/assistance/CH790018081033.aspx
  401.  
  402. [Edit:^http://r.office.microsoft.com/r/hlidAsstAccsFromClient]
  403. AddRedirect=http://web.archive.org/web/20040831035152fw/http://office.microsoft.com/en-us/assistance/CH790018001033.aspx
  404.  
  405. [Edit:^http://r.office.microsoft.com/r/hlidAsstOutkFromClient]
  406. AddRedirect=http://web.archive.org/web/20060411161213fw_/http://office.microsoft.com/en-us/assistance/CH790018071033.aspx
  407.  
  408. [Edit:^http://r.office.microsoft.com/r/hlidClipArtFromClient]
  409. AddRedirect=http://web.archive.org/web/20040715073143fw_/http://office.microsoft.com/clipart/default.aspx
  410.  
  411. [Edit:^http://r.office.microsoft.com/r/hlidTemplatesFromClient]
  412. AddRedirect=http://web.archive.org/web/20060423225118fw_/http://office.microsoft.com/en-us/templates/default.aspx
  413.  
  414. [Edit:^http://r.office.microsoft.com/r/rlidRRDirectory]
  415. AddRedirect=http://web.archive.org/web/20090106065003fw_/http://office.microsoft.com/en-us/marketplace/EY010687411033.aspx
  416.  
  417. [Edit:^http://r.office.microsoft.com/r/rlidMsoMoreSmartTags]
  418. AddRedirect=http://web.archive.org/web/20100105050947fw_/http://office.microsoft.com/en-us/marketplace/EY010504821033.aspx
  419.  
  420. [Edit:^http://r.office.microsoft.com/r/rlidOutlookDigitalID]
  421. AddRedirect=http://web.archive.org/web/20040925031648fw_/http://office.microsoft.com:80/en-us/marketplace/EY010504841033.aspx
  422.  
  423. [Edit:^http://r.office.microsoft.com/r/]
  424. AddRedirect=http://web.archive.org/web/2006/%URL%
  425.  
  426. ; Microsoft Reader 2.0
  427. [Edit:^http://das.microsoft.com/activate]
  428. AddRedirect=http://web.archive.org/web/20040803152319/http://www.microsoft.com/reader/en/update/default.asp
  429.  
  430. ; MSN Messenger Service
  431. [Edit:^http://services.msn.com/svcs/mms/([a-zA-Z0-9]*)]
  432. AddRedirect=http://web.archive.org/web/2004/http://services.msn.com/svcs/mms/$1.asp
  433.  
  434. ; Microsoft - common
  435. [Edit:^http://go.microsoft.com/]
  436. AddRedirect=http://web.archive.org/web/2005/%URL%
  437.  
  438. [Edit:^(http://www\.|http://)microsoft.com/isapi/]
  439. AddRedirect=http://web.archive.org/web/2005/%URL%
  440.  
  441. [Edit:^http://[a-z\.]*.windows.com/]
  442. AddRedirect=http://web.archive.org/web/2005/%URL%
  443.  
  444. [Edit:^http://g.msn.com/]
  445. AddInternalRedirect=http://web.archive.org/web/2010id_/%URL%
  446.  
  447. [Edit:^http://prodreg.microsoft.com/register.asp]
  448. AddInternalRedirect=http://web.archive.org/web/2004fw_/%URL%
  449.  
  450.  
  451.  
  452. ; Netscape Communicator stuff
  453. [Edit:^http://.*\.netscape.com/]
  454. OnUrl=^http://netscape.com/
  455. IgnoreUrl=web.archive.org
  456. OnHeader=User-Agent: Mozilla/5
  457. AddInternalRedirect=http://web.archive.org/web/2009id_/%URL%
  458.  
  459. [Edit:^http://.*\.netscape.com/]
  460. OnUrl=^http://netscape.com/
  461. IgnoreUrl=web.archive.org
  462. OnHeader=User-Agent: Mozilla/4
  463. AddInternalRedirect=http://web.archive.org/web/2002id_/%URL%
  464.  
  465. [Edit:^http://.*\.netscape.com/]
  466. OnUrl=^http://netscape.com/
  467. IgnoreUrl=web.archive.org
  468. OnHeader=User-Agent: Mozilla/3
  469. AddInternalRedirect=http://web.archive.org/web/1997id_/%URL%
  470.  
  471. [Edit:^http://.*\.netscape.com/]
  472. OnUrl=^http://netscape.com/
  473. IgnoreUrl=web.archive.org
  474. OnHeader=User-Agent: Mozilla/2
  475. AddInternalRedirect=http://web.archive.org/web/1996id_/%URL%
  476.  
  477. [Edit:^http://.*\.netscape.com/]
  478. OnUrl=^http://netscape.com/
  479. IgnoreUrl=web.archive.org
  480. OnHeader=User-Agent: Mozilla/1
  481. OnHeader=User-Agent: Mozilla/0
  482. AddInternalRedirect=http://web.archive.org/web/1995id_/%URL%
  483.  
  484.  
  485. ; Mozilla & Firefox stuff
  486. [Edit:^http:\/\/[a-z\-]*.start2.mozilla.com]
  487. OnHeader: User-Agent: Mozilla\/5.*rv:1\.9\.[1-3]
  488. AddInternalRedirect=http://web.archive.org/web/20101127020412/http://www.google.com/firefox
  489.  
  490. [Edit:^http:\/\/[a-z\-]*.start2.mozilla.com]
  491. OnHeader: User-Agent: Mozilla\/5rv:1\.9\.0
  492. AddInternalRedirect=http://web.archive.org/web/20080531193518/http://www.google.com/firefox
  493.  
  494. [Edit:^http:\/\/[a-z\-]*.start2.mozilla.com]
  495. OnHeader: User-Agent: Mozilla\/5.*rv:1\.8
  496. AddInternalRedirect=http://web.archive.org/web/20080227003647/http://www.google.com/firefox
  497.  
  498. [Edit:^http:\/\/[a-z\-]*.start.mozilla.com]
  499. OnHeader: User-Agent: Mozilla\/5.*rv:1\.8
  500. AddInternalRedirect=http://web.archive.org/web/20080227003647/http://www.google.com/firefox
  501.  
  502. [Edit:^http:\/\/[a-z\-]*.start.mozilla.com]
  503. OnHeader: User-Agent: Mozilla\/5.*rv:1.[0-7]
  504. AddInternalRedirect=http://web.archive.org/web/20041130152007/http://www.google.com/firefox
  505.  
  506. [Edit:^(http://www\.|http://)mozdev.org/(.*)]
  507. AddInternalRedirect=http://web.archive.org/web/2010if_/http://mozdev.org/$2
  508.  
  509. [Edit:^http://.*\.mozdev.org]
  510. IgnoreUrl=web.archive.org
  511. AddRedirect=http://web.archive.org/web/2007if_/%URL%
  512.  
  513. [Edit:^http://update.mozilla.org/]
  514. AddRedirect=http://web.archive.org/web/20041110063619/%URL%
  515.  
  516. [Edit:^http://addons.mozilla.org/]
  517. OnHeader: User-Agent: Mozilla\/5.*rv:1.[0-7]
  518. AddRedirect=http://web.archive.org/web/20050101/%URL%
  519.  
  520. [Edit:^http://addons.mozilla.org/]
  521. OnHeader: User-Agent: Mozilla\/5.*rv:1.8.0
  522. AddRedirect=http://web.archive.org/web/20070101/%URL%
  523.  
  524. [Edit:^http://addons.mozilla.org/]
  525. OnHeader: User-Agent: Mozilla\/5.*rv:1.8.1
  526. AddRedirect=http://web.archive.org/web/20080101/%URL%
  527.  
  528. [Edit:^http://addons.mozilla.org/]
  529. OnHeader: User-Agent: Mozilla\/5.*rv:1.9.0
  530. AddRedirect=http://web.archive.org/web/20100101/%URL%
  531.  
  532. [Edit:^http://addons.mozilla.org/]
  533. OnHeader: User-Agent: Mozilla\/5.*rv:1.9.[0-9]
  534. AddRedirect=http://web.archive.org/web/2012/%URL%
  535.  
  536. [Edit:^http://addons.mozilla.org/]
  537. OnHeader: User-Agent: Mozilla\/5.*rv:[2-9]
  538. AddRedirect=http://web.archive.org/web/2015/%URL%
  539.  
  540. [Edit:^(http://www\.|http://)mozilla.ru/(.*)]
  541. AddRedirect=http://mozilla-russia.org/$2
  542.  
  543. [Edit:^http://forum.mozilla.ru/(.*)]
  544. AddRedirect=http://forum.mozilla-russia.org/$1
  545.  
  546.  
  547. ; Opera stuff
  548. [Edit:^http://www.opera.com/buy/]
  549. AddRedirect=http://web.archive.org/web/20050801075133fw_/%UrlNoPort%
  550.  
  551. [Edit:^http://my.opera.com]
  552. OnHeader=User-Agent: .*Opera.7
  553. AddRedirect=http://web.archive.org/web/2004fw_/%URL%
  554.  
  555. [Edit:^http://my.opera.com]
  556. OnHeader=User-Agent: .*Opera.8
  557. AddRedirect=http://web.archive.org/web/2006fw_/%URL%
  558.  
  559. [Edit:^http://my.opera.com]
  560. OnHeader=User-Agent: .*Opera.9
  561. AddRedirect=http://web.archive.org/web/2009fw_/%URL%
  562.  
  563. [Edit:^http://my.opera.com]
  564. OnHeader=User-Agent: .*Opera.9.80
  565. AddRedirect=http://web.archive.org/web/2012fw_/%URL%
  566.  
  567.  
  568. ; YouTube playback (in external player)
  569. [Edit:^(http://www\.|http://)youtube.com/watch.*&dl]
  570. AddRedirect=http://%Proxy%/!webvideo/?url=%Url%
  571.  
  572. ; YouTube playback (in browser)
  573. [Edit:^((http://www\.|http://)youtube.com/watch.*)&play=(.*)]
  574. AddRedirect=http://%Proxy%/!player/?url=$1&gui=1&prefer=$3
  575.  
  576. ; YouTube playback (via original ViewTube)
  577. [Edit:^(http://www\.|http://).*.googlevideo.com/]
  578. AddConvert=ffmpeg
  579. AddConvertArg1=-vcodec mpeg2video -acodec mp2 -f mpegts
  580. AddResponseHeader=Content-Type: video/MP2T
  581. ; Choose right codecs which are correct for client PC and media player.
  582.  
  583.  
  584. ; Content patches
  585. ; Apply some edits to page's content. Here are two edits, in example:
  586. ; 1. Replace "eval()" with direct calls for IE3/4
  587. ; 2. Fix work with _tmr JS variable in inline scripts (for IE4 too)
  588. ; AddFind: the find mask.
  589. ; AddReplace: the replacement.
  590. [Edit:^http://old-dos.ru]
  591. AddFind=eval\(('|")(.*?)\1\)
  592. AddReplace=$2
  593. AddFind=var _tmr = _tmr .* \[\];
  594. AddReplace=var _tmr = _tmr;
  595.  
  596. ; Fixes for Microsoft Internet Explorer 4.0/5.x/6.0 Active Channels
  597. ; Fix links in all CDFs
  598. [Edit]
  599. OnContentType=application/x-netcdf
  600. AddFind="(http:\/\/(?!web.archive.org)[^"]*)"
  601. AddReplace="http://web.archive.org/web/1998/$1"
  602. [Edit:\.cdf$]
  603. AddFind="(http:\/\/(?!web.archive.org)[^"]*)"
  604. AddReplace="http://web.archive.org/web/1998/$1"
  605.  
  606. ; Fix Channel Bar buttons (where URL doesn't end with ".cdf")
  607. [Edit]
  608. ; Common
  609. OnUrl=^http://www.iechannelguide.com/
  610. OnUrl=^http://www.microsoft.com/ie/ie40/
  611. OnUrl=^http://www.microsoft.com/ie_intl/
  612. ; links from MS IE 4.01 SP2
  613. ; Default Channel Setup (CHLEN-US.CAB)
  614. OnUrl=^http://home.snap.com:8005/channel/cdf/0,6,home-0,00.cdf
  615. OnUrl=^http://www.msnbc.com/tools/channel/msnbcsports-cdf.asp
  616. OnUrl=^http://iechannel.quicken.com/iechannel/gencdf.cgi
  617. OnUrl=^http://expedia.com/IEChannel/content/default.asp
  618. OnUrl=^http://www.msnbc.com/tools/channel/msnbc-cdf.asp
  619. OnUrl=^http://ie4cdf.pointcast.net/ie40/cdf/ie40cdf.dll
  620. OnUrl=^http://warnerbros.entertaindom.com/cdf/wb.cgi
  621. ; Russian Channel Setup (CHLRU-RU.CAB)
  622. OnUrl=^http://www.online.ru/channel/
  623. OnUrl=^http://www.cityline.ru/obs/
  624. OnUrl=^http://www.zdnet.ru/channels/default.asp
  625. OnUrl=^http://www.weekend.ru/Channel/
  626. OnUrl=^http://channel.park.ru/intro.asp
  627. OnUrl=^http://rbn.newstv.ru/intro.html
  628. OnUrl=^http://www.rocit.ru/cdf/intro.htm
  629. OnUrl=^http://www.izvestia.ru/
  630. OnUrl=^http://www.vinco.ru/channel/
  631. OnUrl=^http://www.algo.ru/channels/default.asp
  632. ; German Channel Setup (CHLDE-DE.CAB)
  633. OnUrl=^http://www.wirtschaft-online.de/cgi-bin/channel.exe?fn=wocie&sfn=cdf
  634. ; Czech Channel Setup (CHLCS-CZ.CAB)
  635. OnUrl=^http://muj.atlas.cz/cdf/ie40/atlas1.asp
  636. OnUrl=^http://modrysvet.codalan.cz/new/asp/cdf-namodro.asp
  637. ; UK Channel Setup (CHLEN-UK.CAB)
  638. OnUrl=^http://www.briefing.ft.com/cgi-bin/gen_cdf.pl
  639. OnUrl=^http://www.uk.msn.com/cdf/msnukcdf.asp
  640. ; French Channel Setup (CHLFR-FR.CAB)
  641. OnUrl=^http://www.toutenville.com/tev.asp?
  642. ; Belgian Channel Setup (CHLFR-BE.CAB)
  643. OnUrl=^http://ch.advalvas.be/scripts/ch.dll
  644. ; Malaysian Channel Setup (CHLML-MY.CAB)
  645. OnUrl=^http://active.asiaconnect.com.my/active/subscribe.asp
  646. ; Dutch Channel Setup (CHLNL-NL.CAB) - may be Holland?
  647. OnUrl=^http://www.zaak.nl/scripts/channel/cdf.pl
  648. ; Taiwan Channel Setup (CHLZH-TW.CAB)
  649. OnUrl=^http://www.icrt.com.tw/CHANNEL/icrt.asp
  650. AddRedirect=http://web.archive.org/web/19990101if_/%URL%
  651.  
  652. ; Disable inline Web Archive scripts on pre-2012 browsers
  653. [Edit:^http://web.archive.org/web/]
  654. OnHeader=User-Agent: NCSA_Mosaic
  655. OnHeader=User-Agent: Mozilla/[01234]
  656. OnHeader=User-Agent: Mozilla/5.*rv:0
  657. OnHeader=User-Agent: Mozilla/5.*rv:1\.
  658. OnHeader=User-Agent: Opera/
  659. OnHeader=User-Agent: .*Opera
  660. OnHeader=User-Agent: IBM WebExplorer
  661. OnHeader=User-Agent: xChaos_Arachne/
  662. OnHeader=User-Agent: .*DOS
  663. OnHeader=User-Agent: .*Dos
  664. AddFind=<script(.|\r|\n)*<!-- End Wayback Rewrite JS Include -->
  665. AddReplace=<!-- Web Archive stuff has been removed -->
  666.  
  667. ; Disable inline Web Archive scripts on InternalRedirect pages
  668. [Edit]
  669. OnHeader=User-Agent: NCSA_Mosaic
  670. OnHeader=User-Agent: Mozilla/[01234]
  671. OnHeader=User-Agent: Mozilla/5.*rv:0
  672. OnHeader=User-Agent: Mozilla/5.*rv:1\.
  673. OnHeader=User-Agent: Opera/
  674. OnHeader=User-Agent: .*Opera
  675. OnHeader=User-Agent: xChaos_Arachne/
  676. OnHeader=User-Agent: .*DOS
  677. OnHeader=User-Agent: .*Dos
  678. AddFind=<!-- BEGIN WAYBACK TOOLBAR INSERT -->.*<!-- END WAYBACK TOOLBAR INSERT -->
  679. AddReplace=<!--Web Archive toolbar has been removed-->
  680. AddFind=<script src="\/\/archive\.org.*End Wayback Rewrite JS Include -->
  681. AddReplace=<!-- Web Archive stuff has been removed (alt) -->
  682. AddFind=<body onload="sf\(\)"><!--Web Archive toolbar has been removed-->
  683. AddReplace=<base href="http://web.archive.org/"><body>
  684.  
  685. ; BBC news photo fix
  686. [Edit:^http://www.bbc.co.uk/.*]
  687. OnUrl=^http://www.bbc.com/.*
  688. AddFind=<noscript><img
  689. AddReplace=<img
  690. AddFind=></noscript>
  691. AddReplace=>
  692.  
  693. ; Mobile VKontakte script fix
  694. [Edit:^http://[a-zA-Z0-9\-\.]*vk.com/]
  695. AddFind="cookie_secure":" Secure;"
  696. AddReplace="cookie_secure":" WebOneEdited;"
  697.  
  698.  
  699. ; Firefox 3.5-16.0 CSS3 patches
  700. [Edit]
  701. OnContentType=text/css
  702. OnHeader=User-Agent: .*rv\:(\b([0-9]|10|11|12|13|14|15)\b\.).*Gecko
  703. AddFind=(background-size|box-sizing|box-shadow|text-shadow|border-radius|border-image|column-.*|animation-.*transition|transform|repeating-linear-gradient|linear-gradient|repeating-radial-gradient|radial-gradient|flex)
  704. AddReplace=-moz-$1
  705. AddFind=to bottom
  706. AddReplace=top
  707. AddFind=to top
  708. AddReplace=bottom
  709. AddFind=to right
  710. AddReplace=left
  711. AddFind=to left
  712. AddReplace=right
  713. AddFind=(text--moz-transform)
  714. AddReplace=text-transform
  715. AddFind=(-moz--moz)
  716. AddReplace=-moz
  717. AddFind=(-o--moz)
  718. AddReplace=-moz
  719. AddFind=(-webkit--moz)
  720. AddReplace=-moz
  721.  
  722. ; PNG->GIF and WebP->GIF converting (for IE3, Netscape)
  723. [Edit]
  724. OnContentType=image/png
  725. OnContentType=image/webp
  726. OnCode=200
  727. OnHeader=User-Agent: Mozilla/[0-3]
  728. OnHeader=User-Agent: Mozilla/4\.0[0-3]
  729. IgnoreUrl=webdav
  730. AddConvert=convert
  731. AddConvertDest=gif
  732. AddResponseHeader=Content-Type: image/gif
  733.  
  734. ; WebP->PNG converting (Mozilla, Firefox <65, Opera <11.5, Safari <14, Chrome <9, IE, Netscape 4.04+)
  735. [Edit]
  736. OnContentType=image/webp
  737. OnHeader=User-Agent: .*rv:([0-5]([\.]|[0-9]\.)|6[0-4])
  738. OnHeader=User-Agent: Opera/[2-9]
  739. OnHeader=User-Agent: Opera/10
  740. OnHeader=User-Agent: Opera/11.0
  741. OnHeader=User-Agent: .*Version\/([0-9]([0-4]|\s|\.))[a-zA-Z0-9\.\s\/]*Safari
  742. OnHeader=User-Agent: .*Chrome\/([0-8]\.)
  743. OnHeader=User-Agent: .* MSIE
  744. OnHeader=User-Agent: Mozilla/4\.0[4-9]
  745. OnHeader=User-Agent: Mozilla/4\.[5-9]
  746. IgnoreUrl=webdav
  747. AddConvert=convert
  748. AddConvertDest=png
  749. AddResponseHeader=Content-Type: image/png
  750.  
  751. ; SVG->PNG converting (Mozilla, Firefox 1.0-3.6, Opera <10, IE 4-8, Netscape 4.04+)
  752. [Edit]
  753. OnContentType=image/svg+xml
  754. OnHeader=User-Agent: .*rv:[0-1]\.
  755. OnHeader=User-Agent: Opera/[2-9]
  756. OnHeader=User-Agent: .* MSIE [4-8]
  757. OnHeader=User-Agent: Mozilla/4\.0[4-9]
  758. OnHeader=User-Agent: Mozilla/4\.[5-9]
  759. IgnoreUrl=webdav
  760. AddConvert=convert
  761. AddConvertDest=png
  762. AddResponseHeader=Content-Type: image/png
  763. [Edit:\.svg$]
  764. OnHeader=User-Agent: .*rv:[0-1]\.
  765. OnHeader=User-Agent: Opera/[2-9]
  766. OnHeader=User-Agent: .* MSIE [4-8]
  767. OnHeader=User-Agent: Mozilla/4\.0[4-9]
  768. OnHeader=User-Agent: Mozilla/4\.[5-9]
  769. IgnoreUrl=webdav
  770. AddConvert=convert
  771. AddConvertDest=png
  772. AddResponseHeader=Content-Type: image/png
  773.  
  774. ; SVG->GIF converting (Netscape 1.0-4.03, MSIE 1-3)
  775. [Edit]
  776. OnContentType=image/svg+xml
  777. OnHeader=User-Agent: .* MSIE [1-3]
  778. OnHeader=User-Agent: Mozilla/[0-3]
  779. OnHeader=User-Agent: Mozilla/4\.0[0-3]
  780. OnHeader=User-Agent: xChaos_Arachne
  781. IgnoreUrl=webdav
  782. AddConvert=convert
  783. AddConvertDest=gif
  784. AddResponseHeader=Content-Type: image/gif
  785. [Edit:\.svg$]
  786. OnHeader=User-Agent: .* MSIE [1-3]
  787. OnHeader=User-Agent: Mozilla/[0-3]
  788. OnHeader=User-Agent: Mozilla/4\.0[0-3]
  789. OnHeader=User-Agent: xChaos_Arachne
  790. IgnoreUrl=webdav
  791. AddConvert=convert
  792. AddConvertDest=gif
  793. AddResponseHeader=Content-Type: image/gif
  794.  
  795.  
  796. ; uncomment section below to enable JPG recompression
  797. ;[Edit]
  798. ;OnContentType=image/jpeg
  799. ;OnContentType=image/png
  800. ;OnContentType=image/webp
  801. ;OnCode=200
  802. ;IgnoreUrl=webdav
  803. ;AddConvert=convert
  804. ;AddConvertDest=jpg
  805. ;AddConvertArg1=-quality 20
  806. ;AddResponseHeader=Content-Type: image/jpeg
  807.  
  808.  
  809. ; Old WebKit (Safari <6, Chrome <28, Android <5, iOS <6) CSS3 patches
  810. [Edit]
  811. OnContentType=text/css
  812. OnHeader=User-Agent: .*AppleWebKit/[0-4]
  813. OnHeader=User-Agent: .*AppleWebKit/5[0-2]
  814. OnHeader=User-Agent: .*AppleWebKit/53[1-6]
  815. AddFind=(background-size|box-sizing|box-shadow|text-shadow|border-radius|border-image|column-.*|animation-.*transition|transform|repeating-linear-gradient|linear-gradient|repeating-radial-gradient|radial-gradient|flex)
  816. AddReplace=-webkit-$1
  817. AddFind=to bottom
  818. AddReplace=top
  819. AddFind=to top
  820. AddReplace=bottom
  821. AddFind=to right
  822. AddReplace=left
  823. AddFind=to left
  824. AddReplace=right
  825. AddFind=(text--webkit-transform)
  826. AddReplace=text-transform
  827. AddFind=(-webkit--webkit)
  828. AddReplace=-webkit
  829. AddFind=(-o--webkit)
  830. AddReplace=-webkit
  831. AddFind=(-moz--webkit)
  832. AddReplace=-webkit
  833.  
  834.  
  835. ; Opera 9.6, 10.x, 11.x, 12.0 CSS3 patches
  836. [Edit]
  837. OnContentType=text/css
  838. OnHeader=User-Agent: Opera/9.6
  839. OnHeader=User-Agent: Opera/9.7
  840. OnHeader=User-Agent: Opera/9.8.*Version/10
  841. OnHeader=User-Agent: Opera/9.8.*Version/11
  842. OnHeader=User-Agent: Opera/9.8.*Version/12.0
  843. AddFind=(background-size|box-sizing|box-shadow|text-shadow|border-radius|border-image|column-.*|animation-.*transition|transform|repeating-linear-gradient|linear-gradient|repeating-radial-gradient|radial-gradient|flex)
  844. AddReplace=-o-$1
  845. AddFind=to bottom
  846. AddReplace=top
  847. AddFind=to top
  848. AddReplace=bottom
  849. AddFind=to right
  850. AddReplace=left
  851. AddFind=to left
  852. AddReplace=right
  853. AddFind=(text--o-transform)
  854. AddReplace=text-transform
  855. AddFind=(-o--o)
  856. AddReplace=-o
  857. AddFind=(-webkit--o)
  858. AddReplace=-o
  859. AddFind=(-moz--o)
  860. AddReplace=-o
  861.  
  862.  
  863. ; Enforce security & spoof CORS
  864. [Edit]
  865. IgnoreUrl=webdav
  866. AddHeader=upgrade-insecure-requests: 1
  867. AddHeader=sec-fetch-mode: navigate
  868. AddHeader=sec-fetch-site: same-origin
  869. AddHeader=sec-fetch-user: ?1
  870. ;AddResponseHeader=Access-Control-Allow-Origin: http://%UrlDomain%
  871.  
  872. ; Disable CORS and SRI checks
  873. [Edit]
  874. OnContentType=html
  875. IgnoreUrl=webdav
  876. AddFind=integrity=
  877. AddReplace=disable-integrity=
  878. AddFind=crossorigin=
  879. AddReplace=disable-crossorigin=
  880.  
  881. ; Remove CSP (mostly due to 'upgrade-insecure-requests')
  882. [Edit]
  883. IgnoreUrl=webdav
  884. AddFind=<meta http-equiv="Content-Security-Policy"[a-zA-Z\ 0-9\'\"\-\=\;\*\:]*>
  885. AddReplace=<!--Content-Security-Policy meta isn't need through WebOne-->
  886.  
  887. ; List of User Agents of browsers without HTTP/1.1 support
  888. ; - will get HTTP/1.0 replies
  889. ; - will get Content-Type header in compliance with RFC 1945 §10.5, not RFC 2068 §14.18
  890. [Http10Only]
  891. IBM WebExplorer
  892.  
  893.  
  894. ; Ad blocking
  895. ; uncomment section below to enable ad blocking
  896. ;[Edit:^http://an.yandex.ru/]
  897. ;OnUrl=^http://mc.yandex.ru
  898. ;OnUrl=^http://yandex.net/banner/
  899. ;OnUrl=^http://st.yandexadexchange.net
  900. ;OnUrl=^http://rareru.ru
  901. ;OnUrl=^http://ad.mail.ru
  902. ;OnUrl=^http://utarget.ru
  903. ;OnUrl=^http://betweendigital.com
  904. ;OnUrl=^http://marketgid.com
  905. ;OnUrl=^http://googlesyndication.com
  906. ;OnUrl=^http://doubleclick.net
  907. ;OnUrl=^http://ads.google.com
  908. ;OnUrl=/adsense
  909. ;OnUrl=/adword
  910. ;OnUrl=adriver.ru
  911. ;AddRedirect=about:blank
  912.  
  913.  
  914. ; Options for online video downloading with convert
  915. [WebVideoOptions]
  916. ; enable online video downloading
  917. Enable=yes
  918. ; paths to programs
  919. YouTubeDlApp=yt-dlp
  920. FFmpegApp=ffmpeg
  921. ; yt-dlp options
  922. format=best
  923. merge-output-format=mp4
  924. ; ffmpeg options
  925. f=mpegts
  926. vcodec=copy
  927. acodec=copy
  928.  
  929.  
  930. ; MIME content types for known file extensions
  931. [MimeTypes]
  932. txt=text/plain
  933. me=text/plain
  934. htm=text/html
  935. html=text/html
  936. bmp=image/bmp
  937. gif=image/gif
  938. djv=image/vnd.djvu
  939. djvu=image/vnd.djvu
  940. ico=image/x-icon
  941. jpg=image/jpeg
  942. jpeg=image/jpeg
  943. jfif=image/jpeg
  944. png=image/png
  945. svg=image/svg+xml
  946. cdf=application/x-netcdf
  947. doc=application/msword
  948. dwg=application/acad
  949. dxf=application/acad
  950. pdf=application/pdf
  951. ppt=application/vnd.ms-powerpoint
  952. pps=application/vnd.ms-powerpoint
  953. swf=application/x-shockwave-flash
  954. xls=application/vnd.ms-excel
  955. xml=application/xml
  956. xps=application/vnd.ms-xpsdocument
  957. xul=application/vnd.mozilla.xul+xml
  958. avi=video/msvideo
  959. asf=video/x-ms-asf
  960. mpg=video/mpeg
  961. mp4=video/mp4
  962. wmv=video/x-ms-wmv
  963. wma=audio/x-ms-wma
  964. csv=text/csv
  965. js=text/javascript
  966. json=text/javascript
  967. css=text/css
  968.  
  969.  
  970. ; Client ban list
  971. ; uncomment section below to forbid access for some clients
  972. ;[IpBanList]
  973. ;192.168.0.10
  974.  
  975. ; Client white list
  976. ; uncomment section below to allow access only for some clients
  977. ;[IpWhiteList]
  978. ;192.168.0.5
  979.  
  980.  
  981. ; URL ban list
  982. ; uncomment section below to forbid access to some web sites
  983. ;[UrlBlackList]
  984. ;ornhub.com
  985. ;nlyfans.com
  986. ;microsoft.com
  987.  
  988. ; URL white list
  989. ; uncomment section below to allow access only to some web sites
  990. ;[UrlWhiteList]
  991. ;vogons.org
  992.  
  993.  
  994. ; If your server have many public DNS names, enter them here
  995. ;[HostNames]
  996. ;virtual.myownwebsite.ru
  997.  
  998.  
  999. ; Client automaic configuration script (PAC/WPAD)
  1000. ; The default PAC script below is for example
  1001. ;[PAC]
  1002. ;function FindProxyForURL(url, host){
  1003. ;if (url.substring(0, 5) == 'http:')
  1004. ;{ return 'PROXY %PACProxy%'; }
  1005. ;if (url.substring(0, 6) == 'https:')
  1006. ;{ return 'PROXY %PACProxy%'; }
  1007. ;if (url.substring(0, 4) == 'ftp:')
  1008. ;{ return 'PROXY %PACProxy%'; }
  1009. ;} /*WebOne PAC*/
  1010.  
  1011.  
  1012. ; Internal pages look
  1013. ; This apply only to WebOne internal pages.
  1014. [Server]
  1015. ; Uncomment to set colors for all internal status and error pages
  1016. ;PageStyleHtml=TEXT="#FFFFFF" BGCOLOR="#000000" LINK="#FFFF00" VLINK="#C0C0C0" ALINK="#C0FFC0"
  1017.  
  1018. [PageStyleCss]
  1019. ; CSS style for all internal pages
  1020. h1, h2, h3, h4
  1021. {
  1022. font-family: sans-serif;
  1023. }
  1024. html
  1025. {
  1026. font-family: Cambria, sans-serif;
  1027. }
  1028. body
  1029. {
  1030. margin:4em auto;
  1031. max-width: 52em;
  1032. min-width: 13em;
  1033. padding: 3em;
  1034. }
  1035. li
  1036. {
  1037. margin: 0px;
  1038. }
  1039. ul
  1040. {
  1041. list-style: square;
  1042. }
  1043.  
  1044.  
  1045. [NonHttpSslServers]
  1046. ; List of non-HTTPS servers with SSL/TLS, which can be accessed via this proxy (RFC9110, § 9.3.6)
  1047. :456
  1048. :563
  1049. :636
  1050. :853
  1051. :989
  1052. :990
  1053. :992
  1054. :993
  1055. :994
  1056. :995
  1057. :5061
  1058. :6689
  1059. :6693
  1060. :6694
  1061. :6695
  1062. :6696
  1063. :6697
  1064.  
  1065.  
  1066. [NonHttpConnectRedirect]
  1067. ; Redirect rules for non-HTTP connections
  1068. ;login.icq.com:5190=some.icq.server:5190
  1069.  
  1070.  
  1071. [Include:%WOConfigDir%/*.conf]
Advertisement
Add Comment
Please, Sign In to add comment