• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Create a Safari Extension With OpenShift PaaS as Server Backend

By Abhishek Ghosh May 6, 2015 10:12 pm Updated on May 6, 2015

Create a Safari Extension With OpenShift PaaS as Server Backend

Advertisement

Here is a Step by Step Guide to Create a Safari Extension With OpenShift PaaS as Server as Backend. In Client-Server Model, Safari Extension is on Client. OpenShift PaaS is the main important thing, what it will do, depends on you. We only gave you an idea to build a sort of middleware so that your users can install on their Mac to connect with the server – that is OpenShift PaaS. This involves reverse engineering. That reverse engineering is intended for learning faster. You are not an Apple developer, your interest is around OpenShift PaaS or rather the servers. If you read too much about Apple related guides, you will frankly waste a huge time.

Table of Contents

  • 1 Introduction
  • 2 Create a Safari Extension By Simple Reverse Engineering
  • 3 Become a Safari Developer
  • 4 Packaging the New Development to Working Extension
  • 5 Usage and access to OpenShift App
  • 6 Sample Extension Download

 

Difference Between Free Software Development and Warez Development

 

Advertisement

---

This is primitive form of reverse engineering. If you give me the server where latest Nginx Plus (non-Free software) is running, I can convert it to Free Software and give you a deb installation. There is no source code – the work is from the binary files. It is not Warez development, Warez usually nulls the disturbing part but never gives the way to exactly do the same on the distributed nulled software by the end user. You can not re-null a cracked Microsoft Windows as end user unless you are the hacker. That nulled software or Warez is as bad as the original non-Free Software. This basic primitive form of reverse engineering on this guide is for faster understanding without reading anything. Apple eventually controls the development – you can install our final modified development and check the URL of us – it is not directly thecustomizewindows.com. There is a short link against the URL for extreme level of tracking plus the extensions has ways to track the user – OS X is not a Free Software. We are doing kid’s game on the world of reverse engineering. We are only understanding the needed structure. For real reverse engineering works like making latest Nginx Plus a Free Software, we follow many precautions – using various IP, control the unknown flow of data via physical switch, router, using the standard tools etc. If a malware function remains, it can become a bomb. That is why, Free Softwares are freshly written. There is huge difference between developing Warez and Free Software. There is no meaning of running reverse engineering Nginx Plus, because corresponding Free Software actually exists, developing it is more time saving. This lecture is to circumvent the legal troubles which can be raised by the non-Free softwares. RedHat OpenShift, RedHat, Apple, New York Times are not related to these works. These are meant for educational purpose only. We do not encourage copying or distributing other’s creative works.

If you use OpenShift PaaS, instead on main web server; it can bypass the security risks including DDoS on your IaaS. A minimum experience of coding as hobbyist programmer can create a great stuff.

Create-a-Safari-Extension-With-OpenShift-PaaS-as-Server-Backend

 

Create a Safari Extension : The Reverse Engineering

 

Unless you are professionally working, you practically need not to work from absolute zero. There are thousands of Safari Extensions on this Earth which are working nicely. Download some of your choice respecting the copyright part. Reverse Engineering will help you to do it faster than from an absolute scratch work. We will create a valid non-functioning Safari Extension named The Customize Windows.safariextz from fully-working well known Safari Extension The New York Times.safariextz. So, install The New York Times Safari Extension first to understand what it does. All are located at :

Vim
1
~/Library/Safari/Extensions/

simply open Terminal or iTerm2 or right click on Finder and click Go To Folder... and either cd to location ~/Library/Safari/Extensions/ or go from command line.

This reverse engineering is strictly for educational purpose only. These safari extensions are of .xar format and we can use the same commands like we do with tar. To extract The New York Times.safariextz, you simply need to run this kind of command :

Vim
1
xar -xzvf 'The New York Times.safariextz'

this is exactly like extracting latest tar ball of WordPress :

Vim
1
tar -xzvf latest.tar.gz

Now do a ls. A directory will be created with the name The New York Times.safariextension.cd to it and do a ls. You will find these files there :

Vim
1
2
3
Icon-100.png   Info.plist     bar.html       refresh.png
Icon-32.png    Settings.plist bar.js         styles.css
Icon-48.png    app.js         global.html    t.png

If you open and read them, you need not to have to read hundreds of documents. Info.plist will be hugely modified. Others are for functions and decoration. For example, if you run :

Vim
1
cat Settings.plist

you can see the content. Simple.

 

Create a Safari Extension : Become a Safari Developer

 

Search the web with Become a Safari Developer and you will see Apple is inviting you. Become a Safari Developer. It is Free of cost. Then go to the Safari Extension Certificate Utility on their webpage and follow the instructions to create a certificate request file using your Mac’s Keychain Access tool. Everything is written there. These are only things you have to read from their website.

 

Create a Safari Extension : Packaging Part

 

Your Safari should have a Develop option. If you click it, you will get an option menu where Show Extension Builder is present. Click without hesitation. It will bring the Extension Builder. Very easy GUI tool. Fill up the fields up to the point you can understand. In our case, a directory was created on desktop named TCW.safariextension. Except the Info.plist file, copy all the files from the directory (not the extension) The New York Times.safariextension to this directory. Now cd to The New York Times.safariextension directory and open Info.plist with nano or vi. Open another window of iTerm2 or Terminal and cd to TCW.safariextension. Change these lines :

Vim
1
2
3
4
5
6
7
8
<key>Author</key>
<string>Abhishek Ghosh</string>
<key>Builder Version</key>
<string>10600.5.17</string>
<key>CFBundleDisplayName</key>
<string>The Customize Windows</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.tcw</string>

of the Info.plist from which you are copying (it was New York Times’ Safari Extension in our case) taking the corresponding data from your newly created Info.plist file by Apple’s Extension Builder tool. That Info.plist has been created in TCW.safariextension when we worked when you followed the initial lines of this subheader – Fill up the fields up to the point you can understand.

Packaging is not for now, you have to modify a huge. Basically you are using this Safari Extension as a framework. You need not have to read how many icons of what resolution are needed like boring stuffs. You can package from extension builder tool and install to test at this step.

 

Create a Safari Extension : Understanding the Function of Server/ RedHat OpenShift PaaS

 

This is the practical work part. New York Times, on this App uses JSON for each category. They have manifest file on server located at :

Vim
1
http://www.nytimes.com/features/extensions/safari/index.plist

wget it and change it. That reference is given at Info.plist file :

Vim
1
2
3
4
<key>Update Manifest URL</key>
<string>https://thecustomizewindows.com/features/extensions/safari/index.plist</string>
<key>Website</key>
<string>https://thecustomizewindows.com</string>

Obviously, we have changed it on above example but we have no index.plist on server as it is purely an example of development, not for deployment. We will use our own methods like you might change the path. From this point the work of OpenShift PaaS starts. We wrote “https://thecustomizewindows.com/…” but you’ll use your URL of OpenShift PaaS. Extra stuffs to change are at Settings.plist file.

You will see that on the Extension Builder tool, you are getting option for Global Page File and other stuffs. You are using both the GUI tool and Command Line. The example application or its modified form is pretty simple. It just gives a way to learn. But you need to create the backend on OpenShift PaaS from your knowledge.

Free Modified Safari Extension Download

Here is the sample modified Safari Extension for downloading purpose (58kb). It is non functioning but you can install it to check the things. Copyright of this Safari Extension is of New York Times and/or the developers.

Go To Top of This Article

This Article Has Been Shared 138 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Create a Safari Extension With OpenShift PaaS as Server Backend

  • Cloud Computing 3D Rendering And Scope In Film Industry

    Cloud Computing 3D Rendering Has Definite Scope in Film Industry which might alarm the Stars of tomorrow and relieve the Producers investing in the Films.

  • Cloud Computing and Designing Own Truly Scalable System

    Cloud Computing becomes fully enjoyable if it is arranged to make a scalable system for the application or CMS or any web software including WordPress.

  • How Cloud Computing Challenge The Networks

    How Cloud Computing Challenge Networks with virtually unlimited storage and computing capacity, reduced cost and maximum flexibility and massive data traffic.

  • PubSubHubbub and Rackspace Cloud Queue

    PubSubHubbub is a networking protocol. Rackspace is Open Source but infamous for difficult to understand API documentation by normal human.

  • How to Upload Backup to Dropbox from Cloud Server

    Here is How to Upload Backup to Dropbox from Cloud Server in Case You Want To Keep Your Backup of Files and Database on a Free Cloud Storage.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Create a Safari Extension With OpenShift PaaS as Server Backend," in The Customize Windows, May 6, 2015, March 31, 2023, https://thecustomizewindows.com/2015/05/create-a-safari-extension-with-openshift-paas-as-server-backend/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT