aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/api/window/barra_lateral/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-pt/web/api/window/barra_lateral/index.html
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-pt/web/api/window/barra_lateral/index.html')
-rw-r--r--files/pt-pt/web/api/window/barra_lateral/index.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/files/pt-pt/web/api/window/barra_lateral/index.html b/files/pt-pt/web/api/window/barra_lateral/index.html
new file mode 100644
index 0000000000..d35750364d
--- /dev/null
+++ b/files/pt-pt/web/api/window/barra_lateral/index.html
@@ -0,0 +1,60 @@
+---
+title: Window.sidebar
+slug: Web/API/Window/barra_lateral
+tags:
+ - DOM
+ - Janela
+ - Não Padrão
+ - Propriedade
+ - Referencia
+translation_of: Web/API/Window/sidebar
+---
+<div>{{APIRef}} {{Non-standard_header}}</div>
+
+<p>Devolve um objeto da barra lateral, que contém vários métodos para registar extras com o navegador.</p>
+
+<h2 id="Notes" name="Notes">Notas</h2>
+
+<p>O objeto da barra lateral devolvido tem os seguintes métodos:</p>
+
+<table class="fullwidth-table">
+ <tbody>
+ <tr>
+ <th>Método</th>
+ <th>Descrição (SeaMonkey)</th>
+ <th>Descrição (Firefox)</th>
+ </tr>
+ <tr>
+ <td><code>addPanel(<var>title</var>, <var>contentURL</var>, "")</code></td>
+ <td>Adiciona um painel de barra lateral.</td>
+ <td rowspan="2">Obsoleto desde o Firefox 23 (apresentado apenas no SeaMonkey).<br>
+ Em vez disso, os utilizadores finais podem utilizar a opção "carregar este marcador na barra lateral". Consulte também <a href="/pt-PT/docs/Mozilla/Criacao_barra_lateral_Firefox">Criação de uma barra lateral do Firefox.</a></td>
+ </tr>
+ <tr>
+ <td><code>addPersistentPanel(<var>title</var>, <var>contentURL</var>, "")</code></td>
+ <td>Adiciona um painel de barra lateral, que consegue funcionar em segundo plano.</td>
+ </tr>
+ <tr>
+ <td><code>AddSearchProvider(<em>descriptionURL)</em></code></td>
+ <td colspan="2">Installs a search provider (OpenSearch). <a href="/en-US/docs/Web/API/Window/sidebar/Adding_search_engines_from_Web_pages#Installing_OpenSearch_plugins" title="Adding_search_engines_from_web_pages">Adding OpenSearch search engines </a>contains more details. Added in Firefox 2.</td>
+ </tr>
+ <tr>
+ <td><code>addSearchEngine(<var>engineURL</var>, <var>iconURL</var>, <var>suggestedTitle</var>, <var>suggestedCategory</var>)</code> {{Obsolete_inline(44)}}</td>
+ <td colspan="2">
+ <p>Installs a search engine (Sherlock). <a href="/en-US/docs/Web/API/Window/sidebar/Adding_search_engines_from_Web_pages#Installing_Sherlock_plugins" title="Adding_search_engines_from_web_pages">Adding Sherlock search engines </a>contains more details.</p>
+
+ <div class="note">
+ <p><strong>Note</strong>: This was made obsolete in Firefox 44, and has been removed completely in Firefox 59. You should use <code>AddSearchProvider</code> instead.</p>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td><code>IsSearchProviderInstalled(<em>descriptionURL)</em></code></td>
+ <td colspan="2">Indicates if a specific search provider (OpenSearch) is installed.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Specification" name="Specification">Especificação</h2>
+
+<p>Específico da Mozilla. Não faz parte de qualquer padrão.</p>