Codebase list debianbuttons / 2189e96
New upstream version 2.1 Damyan Ivanov 5 years ago
3 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 2.1 [2018-08-22]
1 * Allow for and trim leading '#' in bug numbers
2
03 2.0 [2017-07-30]
14 * Rework for WebExtensions
25 + major change in the user interaction
2929 word = word.replace(/^[^a-zA-Z0-9]+/, '');
3030 word = word.replace(/[^a-zA-Z0-9]+$/, '');
3131 word = word.replace(/^Bug#/i, '');
32 word = word.replace(/^#/, '');
3233 } while ( oldword != word );
3334
3435 return word;
145146 url = 'https://buildd.debian.org/' + clip;
146147 break;
147148 case 'security':
149 clip = clip.replace(' ', '-');
150 clip = clip.toUpperCase();
148151 url = 'https://security-tracker.debian.org/tracker/' + clip;
149152 break;
150153 case 'piuparts':
176179 el.classList.remove('likely');
177180 });
178181
179 if ( /^\d+$/.test(q) || /^CVE-/.test(q) )
182 if ( /^#?\d+$/.test(q) || /^CVE-/.test(q) )
180183 cnt.add('like-b');
181184
182185 if ( /^[a-z0-9][a-z0-9\-+.]+$/.test(q) )
66 },
77 "author": "Damyan Ivanov",
88 "manifest_version": 2,
9 "version": "2.0",
9 "version": "2.1",
1010 "name": "Debian queries",
1111 "description": "Query Debian-related websites using the text in the clipboard",
1212 "homepage_url": "http://icedeb.ktnx.net/",