Skip to content

Commit

Permalink
First Update
Browse files Browse the repository at this point in the history
XPI inclued
  • Loading branch information
sguinetti committed Oct 3, 2013
0 parents commit 81c75d8
Show file tree
Hide file tree
Showing 26 changed files with 1,426 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# PSASI
*When you have the best possible for your browser and do it as if you will install in a single addon. #PsAsi*
It is a compilation of open-source functionality and features only possible in experimental. Use at responsibility.

##Description
*PSASI an external plugin used for quick installation in the Firefox browser.
*Its use is simple and is inspired by the hashtag # PSASI to feel any emotional state.
*It is in constant development, using the complements of the moment.

##Requirements
*Last version of Firefox

##License
*[Mozilla Public License 2.0 or later](http://www.mozilla.org/MPL/)
*Includes additional licenses specified below.

##Dev note
*To create an XPI extension to run in Firefox browser is purely simple:
*Copy the repository (or download it).
*Save it in a ZIP file, not encrypted using a standard compression.
*Change extension: from ".zip" to ".xpi".

##Acknowledgements
*[Pack DuckDuckGo](http://ddgg.nfriedly.com/) - MIT License
26 changes: 26 additions & 0 deletions cck.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id=psasi@d-lonso
name=The PSASI
version=0.1.0.277
ffMinVersion=17
ffMaxVersion=*
description=The most practiced setup and simplest installation
creator=Diego Sanguinetti
updateKey=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDrW6nrw++/HXARgXkHKEM+0iqQo6H0bM5j1q8yGXVCV1Mwh9ms7lNEuKsn1Fw1xvXBIVUpXTTn8hAfSh4bg9OjLfvOaUTX6jnzX/S8uA5lzZnULC/SfIzEwXV4E0dVh36S58JoAZzbFIxw2oVKM3bHuEV8OrgHC0+Z4D03OKVk4wIDAQAB
iconURL=C:\Users\usuario\Desktop\addons-dev\logo.png
filename=psasi
hidden=true
OrganizationName=PSASI
HomePageURL=http://duckduckgo.com
noWelcomePage=true
SearchEngine1=C:\Users\usuario\Downloads\ddg-google-encrypted.xml
SearchEngineIcon1=
ToolbarLocation=Last
BookmarkLocation=Last
PreferenceName1=privacy.donottrackheader.enabled
PreferenceValue1=true
PreferenceType1=boolean
networkProxyType=100
networkProxyHTTP_Port=0
networkProxySSL_Port=0
networkProxyFTP_Port=0
networkProxySOCKS_Port=0
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added psasi.xpi
Binary file not shown.
26 changes: 26 additions & 0 deletions xpi/cck.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id=psasi@d-lonso
name=The PSASI
version=0.1.0.277
ffMinVersion=17
ffMaxVersion=*
description=The most practiced setup and simplest installation
creator=Diego Sanguinetti
updateKey=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDrW6nrw++/HXARgXkHKEM+0iqQo6H0bM5j1q8yGXVCV1Mwh9ms7lNEuKsn1Fw1xvXBIVUpXTTn8hAfSh4bg9OjLfvOaUTX6jnzX/S8uA5lzZnULC/SfIzEwXV4E0dVh36S58JoAZzbFIxw2oVKM3bHuEV8OrgHC0+Z4D03OKVk4wIDAQAB
iconURL=C:\Users\usuario\Desktop\addons-dev\logo.png
filename=psasi
hidden=true
OrganizationName=PSASI
HomePageURL=http://duckduckgo.com
noWelcomePage=true
SearchEngine1=C:\Users\usuario\Downloads\ddg-google-encrypted.xml
SearchEngineIcon1=
ToolbarLocation=Last
BookmarkLocation=Last
PreferenceName1=privacy.donottrackheader.enabled
PreferenceValue1=true
PreferenceType1=boolean
networkProxyType=100
networkProxyHTTP_Port=0
networkProxySSL_Port=0
networkProxyFTP_Port=0
networkProxySOCKS_Port=0
Binary file added xpi/cck.xpi
Binary file not shown.
18 changes: 18 additions & 0 deletions xpi/chrome.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
overlay chrome://browser/content/browser.xul chrome://cck-PSASI/content/cck-browser-overlay.xul
overlay chrome://browser/content/browser.xul chrome://cck-PSASI/content/cck-browser-overlay-nonmac.xul os!=Darwin
overlay chrome://browser/content/browser.xul chrome://cck-PSASI/content/cck-browser-overlay-mac.xul os=Darwin
overlay chrome://browser/content/preferences/preferences.xul chrome://cck-PSASI/content/cck-prefs-overlay.xul
overlay chrome://browser/content/aboutDialog.xul chrome://cck-PSASI/content/cck-aboutDialog-overlay.xul
overlay chrome://mozapps/content/extensions/extensions.xul chrome://cck-PSASI/content/cck-extensions-overlay.xul
overlay about:addons chrome://cck-PSASI/content/cck-extensions-overlay.xul
style chrome://mozapps/content/extensions/extensions.xul chrome://cck-PSASI/content/cck-extensions-overlay.css
style about:addons chrome://cck-PSASI/content/cck-extensions-overlay.css

content cck-PSASI chrome/content/cck/
resource cck-PSASI modules/



component {06bdf02c-21b5-487b-9876-18f878ed4ec2} components/cckService.js
contract @mozilla.org/cck-service-PSASI;2 {06bdf02c-21b5-487b-9876-18f878ed4ec2}
category profile-after-change PSASICCKService @mozilla.org/cck-service-PSASI;2
19 changes: 19 additions & 0 deletions xpi/chrome/content/cck/cck-aboutDialog-overlay.xul
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript;version=1.7">
<![CDATA[
function cckInit() {
var updateChannel = Services.prefs.getCharPref("app.update.channel");
var version = document.getElementById("version");
var versionString = version.textContent;
if (updateChannel == "esr")
versionString += " ESR";
versionString += " (CCK - " + "PSASI)";
version.value = versionString;
};
]]>
</script>
<window id="aboutDialog"
onload="init(event);cckInit();">
</window>
</overlay>
9 changes: 9 additions & 0 deletions xpi/chrome/content/cck/cck-browser-overlay-mac.xul
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://cck-PSASI/content/cck.dtd">
<?xml-stylesheet href="chrome://cck-PSASI/content/cck.css" type="text/css"?>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<stringbundleset id="stringbundleset">
<stringbundle id="bundle_cck" src="chrome://cck-PSASI/content/cck.properties"/>
</stringbundleset>
</overlay>
9 changes: 9 additions & 0 deletions xpi/chrome/content/cck/cck-browser-overlay-nonmac.xul
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://cck-PSASI/content/cck.dtd">
<?xml-stylesheet href="chrome://cck-PSASI/content/cck.css" type="text/css"?>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<stringbundleset id="stringbundleset">
<stringbundle id="bundle_cck" src="chrome://cck-PSASI/content/cck.properties"/>
</stringbundleset>
</overlay>
16 changes: 16 additions & 0 deletions xpi/chrome/content/cck/cck-browser-overlay.xul
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://cck-PSASI/content/cck.dtd">
<?xml-stylesheet href="chrome://cck-PSASI/content/cck.css" type="text/css"?>
<overlay id="cckOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://cck-PSASI/content/cck.js"/>







<stringbundleset id="stringbundleset">
<stringbundle id="bundle_cck" src="chrome://cck-PSASI/content/cck.properties"/>
</stringbundleset>
</overlay>
5 changes: 5 additions & 0 deletions xpi/chrome/content/cck/cck-extensions-overlay.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
richlistitem[addonID="psasi@d-lonso"],
richlistitem[value="psasi@d-lonso"],
richlistitem[locked="true"] {
display: none;
}
Loading

0 comments on commit 81c75d8

Please sign in to comment.