Converting an XPI file so I can read - firefox-addon

A little background on my problem...
I play an online text RPG I will keep the name to myself as I dont want to pull people away from this community for another..... but that is off topic.
In our game, programmers come and go, quite frequently and they leave behind a legacy of programs that serve the community in the simplest of ways.
My question is, How do I open a XPI file and fix coding issues that are no longer relevant? How do I open a file and read it so that it is not in "Wingding"
What programs can i use to de bunk the issues that I will share below?
Sample of what I see when I open the file in notepad++; which is what every firefox add-on site has told me to use....
PK ¡>†¡mŠ  install.rdf”[s¢0ÇŸÛ™~ƾíE[u¬]Ðj-Òz©®ö-#€ ´`DÛÙï¾:E·ÝÙ¼0œóÿÎ…“Öí&„5¤|S*KJé¶}qÞšt{BêÁì¦äs5e9I)Q%B=¹Üh4d¥"W*"u\‘m1³ËRÎ4ax„…äÈØŠ¢TeîÀËRú¥‹s!=­.d6EO³€Eb~SŠ)nîÉ&ÂŒƒ C€‘ß‘Âþ´`ØDNû)æ  £ f?-Š<ŸÃH6 [rî?0aÉD™íX¶oL[‘*’’‰–‹ó³³Â¦pBÛÐ$™ÿð¾óç‚9EV¼3>û€—ûñ6W_ª‡i>S€0ÿ?ùÔIB/ôÅ¢œÏ^·ï°°
Cˆ9\BîC!ï‹`Q’0H/ÍCÊbÉã˜> a<8›Û…ÉMBÎb•‡&Æ‘ø¿Y’È$K+JÇ%瀔þDYÌOþ8«ÜnÀmÛô]SSúéª?Xjw|§k㙦UûZ·££±¡{ãnù°ˆ¼å|9±µ vlÏ7ß´àI›ãûZä¾ô‚`€ëv̬Žæ^‡QïÙñ:á6꘳»÷7dÆúk]®)#à Kuô‚x2ZÌ{3E,7áÄBúkÔ™ù`¼ùCݸ~Ö™3])+R«q45ÊÜ\÷-ïêöôÇûÎÊÁÈpØÊ)ÏëldŽüź‚f]-tµ±¦Êß•yاC8 äZÈ'c;Ý»Waµ> ]WTŽíŠÄêUՖŲ
TЀkµ^ýý÷¢Ã„Ï÷«sX¥‚él‚ªô#g>M'•È_—’QßµájÉé½—>ÿ PK
±Å: chrome/PK
”9¬<  chrome/content/PK
º“>¯ /}Ÿ W8 chrome/content/browser.xul½[yoÛ8ÿ»Ìwàxi
Ôñ!ŸM2ƒØiÒ™6m¶ö´;
Z¢%Ö©¥¨8ΧßGJv|2¬“6#“”~ïä;(ùø÷Û˜¡"S*øI©vX-ýþÛÏ?ÿrö¡?üûê5°Æð
þ__¢’I“W•
I know this may mean nothing and if it does just please respect my question and dont negatively rate it because of my lack of knowledge about this topic...
What this add-on is, is a raid bar, that organizes accounts into "bookmarks" as an accessible and ready to join raids while retaining the link of the raid in the browser to reduce steps in the process of raiding.
The owner of the add-on is not me.... it is not logical to track down the person that made it because it was crafted over 10 years ago and the means of getting in touch with the person are not reliable anymore.
I dont want to take his add-on and claim it as my own.... I want to update it and carry on what he started as a respect for the player and programmers that have come and gone from the outwar community
Thank you for your time

Rename it from .xpi to .zip then you can open it and extract the contents. Do look into WebExtensions API though, as old XUL addons are going away by the end of 2017, you seem to have an overlay there. You can read more here - https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/
Webextensions here - https://developer.mozilla.org/en-US/Add-ons/WebExtensions/

Related

How to prevent ipa file/iphone application from being cracked to source?

from one of the stackexchange questions Here,its proved that we can decompile the iphone application to its source,Now here comes the question how can we protect the ipa file/iphone application from cracking to its source?i have already verified this answers
here 1
method 2
but sad thing is it fails to protect the code,any updates to prevent app to source code
You can't really.
The iOS runtime on the device needs to be able to interpret the binary, so the binary has to be there, unencrypted and ready to run.
You could obfuscate it, by running it through a tool that scrambles method names, property names and so on. .NET and Java have tools that do this but I'm not aware of any for Objective-C, so I think you're on your own.
(Tools like anticrack, the one you linked to, will work for a short time until someone comes up with a way to reverse what anticrack does - but because your app eventually has to be there in a format the runtime is ready to run, all you can do is make it more difficult. It's like the age-old arms race of pirates vs protection mechanism in desktop applications).
This has been much discussed. Generally, you make more money spending time improving or promoting your app, then spending time trying to prevent it from being cracked in any way.

Is it possible to recover an iOS app from my iPhone?

I was halfway through developing an iOS app but have sadly lost the development files (it's a long story). I have the latest version still on my iPhone. Is there some way of recovering it or even just part of it for use in Xcode?
Thanks.
In theory you can decompile the binary, which should be backed up in your iTunes backup. It is not a simple process, and if you encrypted the binary you should maybe just give up. The result of the decompilation will be nothing like what you started with -- rather it will be a bunch of cryptic C functions that don't necessarily make sense but which will compile back to your app. You might get something usable. Assuming that you actually are able to decompile and rebuild your app, the challenge you will face is in the future -- maintaining/updating cryptic code.
So my advice is to check the possibility of local backups/checkins (as per other answers here). You might try undeleting the files from your hard drive (DON'T save any more files to your disk, just download undelete software and try it). Short of those things, you can take to heart the advice of my Comp Sci 101 professor. I quote:
Don't fret - it's always easier the second time around.
Good luck.
If you have Time machine enabled on your mac you may want to look in there. But other than that I don't think so.

Any good (free) text-to-speech engines out there?

I've been scouring the SO board and google and can't find any really good recommendations for this. I'm building a Twilio application and the text-to-speech (TTS) engine is way bad. Plus, it's a pain in the ass to test since I have to deploy every time. Is there a significantly better resource out there that could render to a WAV or MP3 file so I can save and use that instead? Maybe there's a great API for this somewhere. I just want to avoid recording 200 MP3 files myself, would rather have this generated programatically...
Things I've seen and rejected:
http://www.yakitome.com/ (I couldn't force myself to give them my email)
http://www2.research.att.com/~ttsweb/tts/demo.php
http://www.naturalreaders.com/index.htm
http://www.panopreter.com/index.php (on the basis of crappy website)
Thinking of paying for this, but not sure yet: https://ondemand.neospeech.com/
Obviously I'm new to this, if I'm missing something obvious, please point it out...
I am not sure if you have access to a mac computer or not. Mac has pretty advanced tts built into the operating system. Apple spent a lot of money on top engineers to research it. It can easily be controlled and even automated from the command prompt. It also has quite a few built in voices to choose from. That is what I used on a recent phone system I put up. But I realize that this is not an option if you don't have a mac.
Another one you might want to check into is http://cepstral.com/ they have very realistic voices. I think they used to be open source but they are no longer and now you need to pay licensing fees. They are very commonly used for high end commercial applications. And are not so much geared towards the home user that wants their article read to them.
I like the YAKiToMe! website the best. It's free and the voices are top quality. In case you're still worried about giving them your email, they've never spammed me in many years of use and I never got onto any spam lists after signing up with them, so I doubt they sold my email. Anyway, the service is great and has lots of features for turning electronic text into audio files in different languages.
As for the API you're looking for, YAKiToMe! has a well-documented API and it's free to use. You have to register with the site to use it, but that's because it lets you customize pronunciation and voice selection, so it needs to differentiate you from other users.

Is there a way to read a browser's history, using Adobe AIR or any other tool?

First of all, I'm not a hacker :)
We're doing a project where we'll award points to users for visiting certain groups of sites.
Obviously there are major privacy concerns, but we have no interest in actually knowing where they've been, just as long as the program we create can check the history and through an algorithm, rank the site/user.
This would be a downloadable application and we'd tell the user how it worked, since transparency is vital.
Now, with that in mind, is there a way for a local program to access the Cache/History of a browser and make a list out of it?
I've read that Firefox uses SQLite to compile their History, which could potentially be parsed using Adobe AIR.
At the same time, Adobe AIR has access to the filesystem, so it could probably check if the usual IE temporary folders have any files stored. If so, try to read the URL they were downloaded from?
I know all of this sounds very dodgy, but try to keep an open mind :)
Thank you all for your help.
Not a full answer to your question, but you might be interested in the CSS History hack. If you already KNOW the sites you want to rank, you will be able to find out which sites the users visited.
Good thing you said something about a LOCAL program, because there are surely ways to read out the SQLite database from Mozilla and IE's history and you can find plenty of implementations using your favorite search engine.
Particularly easy to use are Nirsoft's utilities MozillaHistoryView and IEHistoryView which you could script to output CSV and parse that file afterwards.

What do you use to capture webpages, diagram/pictures and code snippets for later reference? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
What do you use to capture webpages, diagram/pictures and code snippets for later reference?
Evernote http://www.evernote.com and delicious http://www.delicious.com
Evernote
Notepad2's clipboard feature (Notepad2.exe /c as a link in Launchy)
Windows Clippings or PrintKey
Firefox extension Page Saver
Delicious
Microsoft OneNote.
I just have an emacs instance running on my home machine, under screen. Whereever I am (and have network) I can connect to it remotely. I stick all useful urls, birthday present ideas, future dates, code snippets, ideas for docs etcetc in there.
I rarely have doodles/diagrams I need to capture, I tend to draw them in ascii in my file if needed.
I must admit I'm a bit stuck if I have no network/wifi somewhere, but that's rarely the case.
I find google notebook is very good for drive by code snippeting and google bookmarks especially as when used with the google toolbar, for web pages.
The benefit of these tools are that they are available from any pc on the web, though a good use of semantic organisation using labels is recommended.
Here's my response to a similar question:
The combination of OneNote with a tablet PC is awesome! I was a bit of a skeptic at first. I used the trial version and then forgot about it. A year later I had an unruly collection of files, project related emails, notebooks and scraps of paper all scattered throughout my life. I went back to OneNote and all my problems went away. Some highlights:
Everything is searchable. The character recognition is good enough that my chicken-scratch meeting notes can be searched. Text within images is searchable.
OneNote syncs with Outlook so finding meeting notes is a breeze.
I now embed all files into OneNote - pdfs, spreadsheets, word docs, images, web clippings.
OneNote is constantly saving all changes so, combined with a scheduled automated backup, everything is in one place and is safe.
There are some built-in collaboration tools I have yet to try but that look useful.
It is SO worth the price. It allows you to get started on a project and avoid all that time spent deciding how to organize things.
Zotero, is a nice plugin for Firefox.
SnagIt
captures everything you could want, and lets you annotate it.
I prefer to use the good old url for delicious
Apart from that i use the Scrapbook extension in firefox when i want to save something on the disk. It's possible to tag the page, edit it and remove those stupids ads before saving it.
I also have a Wiki on a stick that i carry around on a usbkey for code snippets that should go to other clients when i'm travelling around
Mostly, my code snippets are embedded into projects i carry on the same usb key, which allows me to demonstrate some technologies right off to the client and get his advice based on a demonstration, not a listing of code...
For screen shots, I use a mix between ScrapBook and ScreenGrab. They are both firefox plugins that are pretty amazing when you need to get a screenshot of a page for editing. Works great for consulting.
https://addons.mozilla.org/en-US/firefox/addon/427
https://addons.mozilla.org/en-US/firefox/addon/1146
Delicious Bookmarks extension for Firefox
It's a little primitive, but I've been using tiddlywiki (self-contained, single-file wiki) http://www.tiddlywiki.com/ which works good for basic text and markup. I combine it with a plugin to sync it with Outlook's notes (http://syncoutlooknotes.tiddlyspot.com/#SyncOutlookNotes) so that I can then sync it to my blackberry using the standard outlook-blackberry sync mechanism. This has the significant advantage that I can look at my notes and even write new notes when I'm out and about, away from my laptop, or just don't feel like lugging the laptop around to a meeting that I don't really need it for.
I'd prefer using something more advanced like Onenote, but being able to take my notes with my in the little blackberry has turned out to be a significant advantage.
Google Notebook is very convenient tool. You can clip and save any parts of web pages without leaving your browser tab. The Notebook plug-in automatically saves them as separate notes in your notebooks and keep the links back to the original web pages. You can organize your clippings later by moving them between your notebooks and/or tagging them. Very good for code snippets and references.

Resources