This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // from http://www.cristinawithout.com/content/function-trigger-events-javascript | |
| //It takes 2 parameters: | |
| //obj - the object to trigger the event on | |
| // evt - the name of the event to trigger (as a string) | |
| function fireEvent(obj, evt){ | |
| var fireOnThis = obj; | |
| if( document.createEvent ) { | |
| var evObj = document.createEvent('MouseEvents'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function( window ) { | |
| var document = window.document, | |
| fieldValueMap = { | |
| 'addressName' : 'Mon Adresse' | |
| //, 'owner_counrty' : 'France' | |
| , 'city' : 'Lille' | |
| , 'postalCode' : '59000' | |
| , 'addressLine4' : 'Bâtiment ou étage' | |
| , 'owner_further_address_details' : 'Compl. Adresse' // id | |
| //, 'owner_further_moving_date_month' : '01' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM placer ce fichier à l'emplacement suivant | |
| REM Windows 8 | |
| REM C:\Users\nom d’utilisateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | |
| REM Windows 7/vista | |
| REM C:\Utilisateurs\nom d’utilisateur\AppData\Roaming\Microsoft\Windows\Menu Démarrer\Programmes\Démarrage | |
| ECHO | DEL /F /S /Q /A C:\Windows\TEMP\*.* | |
| ECHO | DEL /F /S /Q /A "C:\Users\%username%\Appdata\Local\Temp\*-*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder