1.0.24 - Highlight on mouseover instead of click.
Also, switch to a more dark-theme friendly highlight color.
This commit is contained in:
parent
46bd17172a
commit
e3c8199598
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "Sage's BitBucket Addon",
|
"name": "Sage's BitBucket Addon",
|
||||||
"description": "Ensure searches don't include forks (and other enhancements)",
|
"description": "Ensure searches don't include forks (and other enhancements)",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
|
|
Binary file not shown.
|
@ -65,7 +65,8 @@ const addVariableClickers = skipExpandos => {
|
||||||
|
|
||||||
getVarElements()
|
getVarElements()
|
||||||
.forEach(e => {
|
.forEach(e => {
|
||||||
e.onclick = () => selectVar(e.innerText)
|
e.onmouseover = () => selectVar(e.innerText)
|
||||||
|
e.onmouseleave = () => selectVar('zzzzz')
|
||||||
e.ondblclick = () => {
|
e.ondblclick = () => {
|
||||||
let searchBox = getSearchBox()
|
let searchBox = getSearchBox()
|
||||||
|
|
||||||
|
@ -86,7 +87,7 @@ addFix(() => {
|
||||||
const styleSheet = document.createElement('style')
|
const styleSheet = document.createElement('style')
|
||||||
styleSheet.innerText = `
|
styleSheet.innerText = `
|
||||||
.${selectedClass} {
|
.${selectedClass} {
|
||||||
background: rgb(255, 253, 170) !important;
|
background: rgba(255, 253, 170, 0.1) !important;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 2px !important;
|
padding: 2px !important;
|
||||||
margin: -2px !important;
|
margin: -2px !important;
|
||||||
|
|
Loading…
Reference in New Issue