Skip to content

Commit

Permalink
Changed icons, tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jorilallo committed Mar 16, 2012
1 parent 4c441c3 commit d775b9c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
13 changes: 4 additions & 9 deletions README.md
@@ -1,17 +1,12 @@
# kippt-opera

To install the extension in Opera, drag the "kippt-opera.oex" file to your browser.
This is Kippt.com's official Firefox add-on. It's licensed under MIT and we'll accept improvements in pull-requests.

To build the extension, add the following files to a ZIP file:
Originally created by @armen138

config.xml
index.html
pop.html
kippt.png
kippt_big.png
includes/getinfo.js
## Building extension

Then change the extension of the file to .oex
To build the extension, add the files to .zip and thne change the extension of the file to .oex

NB. The extension will only play nice with pages that were loaded after the extension was activated.
To be sure all works as it should, restart Opera after installing.
8 changes: 4 additions & 4 deletions config.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="http://www.kippt.com" version="0.1">
<name>Kippt It</name>
<description>Sends bookmark to Kippt, based on "Kippt It!" bookmarklet</description>
<author href="http://armen138.tumblr.com" email="armen@nieuwenhuizen.ca">Armen138</author>
<icon src="kippt_big.png"/>
<name>Kippt</name>
<description>Kippt's Opera add-on - http://kippt.com</description>
<author href="http://kippt.com.com" email="hello@kippt.com">Kippt</author>
<icon src="kippt_icon.png"/>
<feature name="opera:share-cookies" required="false"/>
<access origin="https://kippt.com" subdomains="true"/>
<access origin="*" />
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -9,7 +9,7 @@
button;
window.addEventListener("load", function(){
ToolbarUIItemProperties = {
title: "Kippt It",
title: "Kippt",
icon: "kippt.png",
popup: {
href: "pop.html",
Expand Down
Binary file added kippt_16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kippt_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions pop.html
Expand Up @@ -8,16 +8,16 @@
opera.extension.postMessage('getme');
}, false);
opera.extension.onmessage = function(event) {
var iframe = document.getElementById("kipptit");
var iframe = document.getElementById("kippt");
url = event.data.url;
title = event.data.title;
notes = event.data.notes || "";
iframe.src = 'https://kippt.com/extensions/new/?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title) + '&source=bp1&notes=' + encodeURIComponent(notes);
iframe.src = 'https://kippt.com/extensions/new/?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title) + '&source=opera&notes=' + encodeURIComponent(notes);
};
</script>
</head>
<body style='overflow: hidden; margin: 0; padding: 0;' >
<iframe id="kipptit" style='width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; border: none;' >
<iframe id="kippt" style='width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; border: none;' >
</iframe>
</body>
</html>

0 comments on commit d775b9c

Please sign in to comment.