public marks

PUBLIC MARKS from decembre with tags script & convert

2017

JSON - What is JSON? An Introduction and Guide for Beginners

in this JSON tutorial and guide, I’m attempting to provide a fairly comprehensive discussion of JSON, its history, and its usefulness. I’ll close with a list of some practical JSON tools that might come in handy in future projects. JSON Defined JSON stands for JavaScript Object Notation and it’s a data format. That is, it’s a way to hold bits of information, similar to a database. Although JSON originated outside the ECMAScript specification, it is now closely related to JavaScript with the spec now including a JSON object and many developers incorporating it as a quasi-subset of the language.

2010

Use Greasemonkey Scripts In Google Chrome - But, there are some limitations as well (as with Opera — which also supports some greasemonkey scripts) - Chrome does not support @exclude, @require, @resource, unsafeWindow, or any of the special GM_* APIs.

Well, here is how to run userscripts in chrome : * Add this flag to Google Chrome launcher : --enable-user-scripts - Now, create a folder in your user data directory. Name it as User Scripts. - Save your all GM scripts in this folder. - If you want to import all userscripts from Firefox — you need to do it manually. We have shown you the way to backup your Greasemonkey scripts. Just navigate to your GM script folder in Firefox data directory as describe in this post. Now, you can copy and paste every script’s file manuallyAnd, you are done! Restart the chrome — and visit any related site. It is quite possible that your favorite GM Script will do the magic. - Important fact : Chrome supports “Early Injection” – the ability to run scripts very early in the page’s lifecycle. In Firefox, userscripts run after page load. But in chrome, you can set it to run before page load. For this, you need to add an extra line in scripts meta data section : // @run-at document-start

Greasemonkey comes to Chrome - get your userscripts ready!

Chrome has a secret weapon. His name is Aaron Boodman, and he created Greasemonkey. He now works on the Chrome Extensions team at Google. Even though Greasemonkey on Chrome isn't yet as mature as the Firefox version -- 15-25% of scripts might not work on Chrome yet -- it will definitely get there with Boodman's help. If you need some scripts to get you started, you can scope out Download Squad's 10 Greasemonkey Scripts You Shouldn't Browse Without, or peruse the large selection at userscripts.org.

User Script Compiler - Easily convert Greasemonkey scripts into Firefox extensions

First, you'll need to track down your installed scripts. They're in your Firefox profile, under the "gm_scripts" sub-folder. Or, if you'd prefer, you can skip the search and download any script from the online script repository. Next, you need to change the file extension from .js (Javascript) to .txt (plain text). After you've changed the extension, double-click the file to view the code. Copy and paste the code into the User Script Compiler and hit "Generate." Voila! Your new Firefox extension (.xpi) is complete. To install in Firefox, simply drag the new extension onto the Firefox interface and follow the prompts.