Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -05:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Aleksei Kuzmin
47d683f0ad
DevTools: do not set visible size while emulating in case of device mode.
...
https://chromium-review.googlesource.com/c/chromium/src/+/572222
2017-11-24 10:58:16 +09:00
Andrew MacDonald
7c5bd62158
Decrease title size.
2017-11-08 09:37:56 -08:00
Andrew MacDonald
00665b9501
Add documentation to web-contents.md.
2017-11-08 09:35:01 -08:00
Yuya Ochiai
6326c6727e
Add did-attach-webview event
2017-10-07 22:52:20 +09:00
rhysd
32ad59de26
Fix findInPage() documentation for correcting type definition
...
This update fixes the return type of `findInPage()`, which is currently
typed as `void` but actually it should be `number`.
2017-10-03 16:39:37 +09:00
Liu Siyuan
e64d4e5bd7
update web-content.md based on review
2017-08-23 23:37:37 +08:00
Liu Siyuan
15d2cfe458
update docs
2017-08-23 23:04:00 +08:00
Siyuan Liu
eeb2e58ad8
return null when theme color is not found
2017-08-20 22:48:13 +08:00
Cheng Zhao
ecff620528
Merge pull request #10081 from renaesop/master
...
Add a callback option to `webContents.print`
2017-08-17 15:56:02 +09:00
renaesop
6d16eb81d2
Add a callback option to webContents.print
2017-08-15 14:44:24 +08:00
Fabian Zeindl
5db02ffaa9
updates to the docs
2017-07-24 10:29:45 +02:00
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00
Kevin Sawicki
0d1cf8af35
Mark contents.setIgnoreMenuShortcuts as experimental
2017-06-28 10:20:22 -07:00
Birunthan Mohanathas
f20f87829b
Add webContents.setIgnoreMenuShortcuts()
...
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -07:00
Tim Fish
58a42682d8
Fixes electron/electron-typescript-definitions/issues/63
2017-06-25 10:43:47 +02:00
Birunthan Mohanathas
ece50c036d
Document webContents.focus()
2017-06-15 10:19:27 -07:00
Kevin Sawicki
f5989dc12f
Merge pull request #9615 from rajatsingla28/web
...
Docs: Add requirement for `webContents.sendInputEvent()` to work.
2017-06-05 10:03:48 -07:00
Kevin Sawicki
afa2dd5ce5
Minor updates to focus note
2017-06-05 10:03:25 -07:00
Rajat
2df7680d24
Docs: Add requirement for webContents.sendInputEvent()
to work.
2017-06-03 23:47:15 +05:30
Rajat
a1da54047a
Docs : Add requirement for 'webContents.sendInputEvent()` to work.
2017-05-29 20:19:28 +05:30
Rajat
973945a8e3
Docs: Add BrowserWindow
needs to be focused for webContents.sendInputEvent()
to work.
2017-05-29 20:10:32 +05:30
Kevin Sawicki
b0d4bf81a0
Add backticks around return types
2017-05-26 13:58:14 -07:00
Kevin Sawicki
dcb22d34b5
Mark deviceName as optional
2017-05-26 13:33:03 -07:00
Kevin Sawicki
74b7afbec7
Merge origin/master into enable-webview
2017-05-19 10:17:34 -07:00
Kevin Sawicki
a8d25d6855
Add printer info structure file
2017-05-18 10:50:08 -07:00
Kevin Sawicki
e0b39247a9
Tweak print docs
2017-05-18 10:17:08 -07:00
Kevin Sawicki
92f14f8d52
printerList() -> getPrinters()
2017-05-18 10:14:55 -07:00
Kevin Sawicki
84a9b6a42d
Merge remote-tracking branch 'origin/master' into renaesop_master
2017-05-18 10:08:40 -07:00
Kevin Sawicki
6fccb75dfb
Mention preloadURL is in webPreferences
2017-05-17 13:59:48 -07:00
Kevin Sawicki
d79ac8d9c1
Merge pull request #9222 from alexstrat/add-os-process-id
...
Add OS pid to web-contents
2017-05-15 13:28:47 -07:00
Alexandre Lachèze
77bf4c8ebb
📝 document getOSProcessId()
2017-05-15 20:02:20 +02:00
Birunthan Mohanathas
5cfa697309
Fix postData type definition in docs
2017-05-14 13:43:38 +03:00
Kevin Sawicki
4e1943dfe6
Minor updates to example
...
* const-ing
* mainWindow -> win
* add dialog require
2017-05-11 09:01:51 -07:00
22222
4044548f3e
Add 'will-prevent-unload' event.
2017-05-11 06:35:35 -05:00
renaesop
cba5e96496
Merge remote-tracking branch 'ups/master'
2017-05-09 09:44:24 +08:00
Milan Burda
568454525d
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:31:09 +02:00