Skip to content

port.js is an expanded version of Michael Gundlach’s Chrome-(and-Opera!)–to–Safari porting library for extensions <https://adblockforchrome.googlecode.com/svn/trunk/port.js>.

License

Notifications You must be signed in to change notification settings

disconnectme/port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

port.js

port.js is an expanded version of Michael Gundlach’s Chrome-(and-Opera!)–to–Safari porting library for extensions.

Dev HOWTO

Add as the first script to your Safari plist file (created by the Extension Builder) and your Chrome and Opera manifest files, background pages, and options pages.

Then use chrome.* APIs as usual and check the global SAFARI boolean for doing browser-specific stuff. The safari.* APIs will still be available in Safari and the chrome.* APIs unchanged in Chrome and Opera.

License

Copyright 2010–2012 Michael Gundlach
Copyright 2012, 2013 Disconnect, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

port.js is an expanded version of Michael Gundlach’s Chrome-(and-Opera!)–to–Safari porting library for extensions <https://adblockforchrome.googlecode.com/svn/trunk/port.js>.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published