public marks

PUBLIC MARKS from decembre with tags script & greasemonkey

2020

đź›  FIREFOX ADDON - ANDROID - Unified Script Injector (usi) - Install userscripts on Firefox for Android - gHacks Tech News

(via)
Unified Script Injector (usi) is a new Firefox add-on that has been designed to provide users of Firefox for Android with means to run userscripts. While Firefox desktop users have some choice when it comes to adding userscript support to their browser, Greasemonkey and the newly released Tampermonkey come to mind, none of these option appear to work on Firefox for Android. The new Firefox add-on usi changes that by adding support for a wide variety of usrescripts. The author notes on the official add-on page that the add-on supports some Greasemonkey functions but not all of them. What this means is that you may encounter userscripts that don't work yet when you install them with the help of the browser extension.

đź›  GM - Go Home - Search on Fire

After a certain amount of time the user is inactive (default is 10 minutes) this script redirects a tab to the homepage. This appears to be useful for Kiosk browsing environments – after someone leaves the computer the next person can start at the home page again.

2018

USERSTYLES - JAVASCRIPT - Convert an Userstyle into a greasemonkey script ? - forum.userstyles.org

I have an huge Style , impossible (for me) to compress more to publish here ... I want find a way to convert it , automatically if it is possible, into an greasemonkey .

2017

GREASEMONKEY (v.4 - webextention) - FIR 57 - Greasespot: Greasemonkey 4 For Script Authors

What? The Greasespot Wiki will be updated to explain Greasemonkey 4 in detail. Until then, here's a quick summary. First, there is only an embedded editor. Browser Extensions have no access to the file system, so you can no longer author user scripts in your familiar text editor. There is only one object provided to user scripts now, named GM. It has several properties. One of them is info – the equivalent of the old GM_info. There are also several methods of this object: getResourceUrl, deleteValue/getValue/listValues/setValue, xmlHttpRequest. To use these methods you still need @grant, and use the new name, e.g.: // @grant GM.setValue The new form has a dot, where the old form has an underscore. You may specify both @grants, if you'd like to be compatible with Greasemonkey 4 and other user script engines at the same time. As of today, there is no support for: GM_log (use console.log), GM_addStyle, GM_registerMenuCommand, nor GM_getResourceText.

USERSCRIPT - NEW Version for Firefox 57 will break scripts - Greasemonkey 4 For Users

Greasemonkey 4 is changing how it runs user scripts. Many user scripts will continue to run as expected, but this will break some scripts. If you rely on such scripts, you might want to install Violentmonkey or Tampermonkey, both of which provide compatibility for existing scripts. If you'd prefer to stick with Greasemonkey, you'll need to wait for the script to be updated to be compatible. Find the original author of your script, and ask them to update for Greasemonkey 4 compatibility. Referencing this post may help.

GREASYFORK - LIBRARY - checkForBadJavascripts

checkForBadJavascripts: This is a utility function, meant to be used inside a Greasemonkey script that has the "@run-at document-start" directive set. It Checks for and deletes or replaces specific "scrip" tags.

2015

BOKMARKLET - jQuery UI dialog in Bookmarklet and GreaseMonkey - Stack Overflow

(via)
Thanks to some awesome answers in other threads, I learned how to: load jQuery and jQuery-UI in a bookmarklet load a CSS into a bookmarklet using jQuery create a DIV in a bookmarklet using jQuery create jQuery UI dialog (external link) and I could manage to combine all four things into a single script which works both as a BookMarklet and as a GreaseMonkey script, which is absolutely awesome.

GM - greasemonkey - Changing Javascript on an HTML page out of my control - Stack Overflow

use Greasemonkey to modify the script or to insert another script just after it to override the function

USERSCRIPT - @document-start Example: hijack page scripts for Greasemonkey

The implement of @run-at document-start greatly extent what userscript capable range. This snippet is one of the example show how to interfere the original script before they run, instead of stay away until the DOM is ready ( DOMContentloaded event fired ).

GM - firefox - How to alter this javascript with Greasemonkey? - Stack Overflow

On Firefox Greasemonkey, you can do that with the stupefyingly brilliant (^_^) checkForBadJavascripts utility

2014

GM - MPIV (Mouseuver Popup Image Viewer) : Host Rules How-To

You can make MPIV work with more sites by adding your own host rules. You don't need to edit the source code for this. Instead, you paste the rule into MPIV's settings dialog which is accessible from your script manager's toolbar icon menu, e g. "User Script Commands" → "Set up Mouseover Popup Image Viewer" for Greasemonkey users.

javascript - Use Greasemonkey to replace links, to images, with images? - Stack Overflow

Replacing links to images is not too hard to do. However, I recommend that you keep the link but display the picture inside it. This is so you can click through if something goes wrong. For example, that sample page you gave has most of the linked images on a dead site. Other linked images only look like they point to images or might be blocked for "hot linking". To make the code robust and easy, we use jQuery and waitForKeyElements. Here is a complete working script that delinks the payload image-links on that sample site:

GOOGLE - GUIDE - How-to for Google Greasemonkey/Userstyles authors.... | Everything Else

by 1 other
Google , que vous pouvez ou ne pouvez pas savoir , tourne trois modèles de page de cette écriture . Les deux premiers héritent beaucoup de code de l'autre , mais encore besoin de règles CSS séparées pour cibler la barre de navigation et d'autres éléments de la page , la dernière (troisième) conception exige un ciblage tout à fait différent .

2013

Greasemonkey : Arte TV Get RTMP Stream

Detects the address of RTMP Stream used in the new interface of Arte TV and allows to copy it to the clipboard (works only with Greasemonkey or Tampermonkey). Can be used in conjunction with RTMP Dump.

Firefox 17 breaks a Greasemonkey script that relies on E4X (New : Firefox 21 delete totally its support)

For lower versions than 21, i used Before i use this "about:config" thing (toggling javascript.options.xml.content to true): 1 - Open about:config 2 - find: javascript.options.xml.content - Set its the value to : "true" (Solution only usable for Firefox smaller than 21.00) Now with Firefox 21 , the E4X support is totally deleted... No solution to renable it by a tweaks in about config, like before?

2011

EXTENSION - Ginatrapani Greasemonkey Multi-script-compiler - GitHub

Compiles multiple Greasemonkey user scripts into a standalone Firefox extension, based heavily on Anthony Lieuallen's (single) script compiler.

2010

BIB - Greasemonkey Script) - Exemple de liens entre Un service de liste de lecture - GoodReads) et le catalogue en ligne d'une Bibliothèque - Toronto Public Libary status from Goodreads book details for Greasemonkey

Inserts link on Goodreads book pages to check status at Toronto Public Library in a popup. Based on the beta.torontopubliclibrary.ca page so it may break. When you visit a book's details page on goodreads, it searches the Toronto public library's holdings via the book's isbn13 number in advanced search. If there's a hit, it allows you to pull up listings via a clickable link for a popup.

BIB - Greasemonkey Script - Exemple - weRead Amazon Exporter for Greasemonkey - Inspects the weRead book shelf (Facebook) page on for Amazon products and displays a list of ISBN or ASIN.

I wanted to try Google's Books library which supports importing a list of comma-separated ISBNs. Since weRead doesn't support exporting your book shelf I wrote this script to show me ISBNs or ASINs parsed from the Amazon thumbnails. Instructions * From Facebook: Visit weread.com and use the Connect button to log in via Facebook Connect. * Navigate to http://weread.com/manageshelf/index.php * To export just your "Read It" list, first click the link next to "Show All Books" * To export all your books, click "100" to view as many books as possible * You'll need to export each page since this script can only see one page at a time * Use the Export command from Greasemonkey's command list

BIB - Greasemonkey Script - Exemple - (Videotheque) - Recherche de Films sur IMDB reliée à Une Bibliothèque - (Lycoming County Library System Search 1.0)

Un exemple de possibilité de liens ajoutés pour une recheche de films sur "Internet Movie Data Base" qui donne accés au catalogue en ligne d'une bibliothèque... A étudier Pendant la consultation d'un titre sur IMDB, il place un lien vers une recherche pour ledit titre dans la bibliothèque du comté de Lycoming System (Pennsylvanie). While viewing a title on IMDB, it will place a link to a search for said title in the Lycoming County Library System (Pennsylvania).

BIB - Greasemonkey, solution pour un sudoc 2.0 « Bibliothèques [reloaded]

Si le catalogue web du sudoc répond dans sa version actuelle aux besoin principaux de recherche documentaire, certaines options lui font défaut. L’idée de ce billet n’est pas de déplorer ces manques (que l’on retrouve dans nombre de nos outils locaux) mais de proposer une solution de contournement, et en profiter pour ajouter certaines fonctionnalités qui n’auraient pas forcément leur place dans l’interface standard. Les fonctionnalités que la solution va ajouter sont : * des flux RSS (qui devrait intégrer bientôt la version standard du sudoc) * les suggestions orthographiques en l’absence de résultat * des permaliens sur les notices * l’affichage de la disponibilité dans une sélection de bibliothèques prédéfinies dès la notice détaillée * la géolocalisation des exemplaires sur une carte * les enrichissements de notice type 2.0 : couvertures d’Amazon, suggestions de documents similaires & autres éditions d’un ouvrage depuis Librarything.