Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't package chrome files in a .jar now that extensions are installe…

…d packed.

Other minor fixes to reduce the number of add-on validation warnings.
  • Loading branch information...
commit ae99eceb62f3e6233e93a3a769bb8ca3efd960b7 1 parent 4566cba
@spasche authored
View
7 Makefile
@@ -9,13 +9,8 @@ xpi:
rm -rf ../tmp || :
mkdir ../tmp
cp -r ../$(NAME) ../tmp
- cd ../tmp/$(NAME)/chrome; \
- zip -r $(NAME).jar *; \
- rm -rf content locale
- rm -rf ../tmp/$(NAME)/.hg
+ rm -rf ../tmp/$(NAME)/.hg ../tmp/$(NAME)/.git ../tmp/$(NAME)/tests
find ../tmp -name "*~" -exec rm {} \;
- rm ../tmp/$(NAME)/chrome.manifest
- mv ../tmp/$(NAME)/chrome.manifest_jar ../tmp/$(NAME)/chrome.manifest
cd ../tmp/$(NAME); \
zip -r $(TARGET_XPI) *
rm ../$(TARGET_XPI) || :
View
12 chrome.manifest_jar
@@ -1,12 +0,0 @@
-content openinbrowser jar:chrome/openinbrowser.jar!/content/
-locale openinbrowser de-DE jar:chrome/openinbrowser.jar!/locale/de-DE/
-locale openinbrowser en-US jar:chrome/openinbrowser.jar!/locale/en-US/
-locale openinbrowser fr jar:chrome/openinbrowser.jar!/locale/fr/
-locale openinbrowser sv-SE jar:chrome/openinbrowser.jar!/locale/sv-SE/
-
-overlay chrome://mozapps/content/downloads/unknownContentType.xul chrome://openinbrowser/content/unknownContentTypeOverlay.xul
-overlay chrome://browser/content/browser.xul chrome://openinbrowser/content/browserOverlay.xul
-overlay chrome://navigator/content/navigator.xul chrome://openinbrowser/content/browserOverlay.xul
-
-component {14aa9340-c449-4956-a5f9-a52fb32f933d} components/OpenInBrowser.js
-contract @spasche.net/openinbrowser;1 {14aa9340-c449-4956-a5f9-a52fb32f933d}
View
2  chrome/content/unknownContentTypeOverlay.js
@@ -100,7 +100,7 @@ var OIB_DownloadOverlay = {
}
document.documentElement.setAttribute('ondialogaccept',
- 'if(OIB_DownloadOverlay.dialogAccepted()) {' +
+ 'if (OIB_DownloadOverlay.dialogAccepted()) {' +
' return OIB_DownloadOverlay.dialogAcceptRetVal;' +
'} else {' +
document.documentElement.getAttribute('ondialogaccept') +
View
1  install.rdf
@@ -7,6 +7,7 @@
<em:id>openinbrowser@www.spasche.net</em:id>
<em:name>Open in Browser</em:name>
<em:version>1.10</em:version>
+ <em:type>2</em:type>
<em:description>Offers the possibility to display documents in browser window.</em:description>
<em:creator>Sylvain Pasche</em:creator>
<em:contributor>Stanimir Stamenkov</em:contributor>
View
4 tests/tests.html
@@ -5,7 +5,9 @@
<title>OpenInBrowser testcases</title>
<script type="text/javascript">
onload = function() {
- document.body.className = location.protocol.replace(":", "");
+ var protocol = location.protocol.replace(":", "");
+ document.body.className = protocol;
+ document.title = "[" + protocol + "] " + document.title;
}
</script>
<style type="text/css">
Please sign in to comment.
Something went wrong with that request. Please try again.