1.0.24 - Highlight on mouseover instead of click.

Also, switch to a more dark-theme friendly highlight color.
This commit is contained in:
Sage Vaillancourt 2025-04-11 14:06:09 -04:00
parent 46bd17172a
commit e3c8199598
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "Sage's BitBucket Addon",
"description": "Ensure searches don't include forks (and other enhancements)",
"version": "1.0.23",
"version": "1.0.24",
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {

Binary file not shown.

View File

@ -65,7 +65,8 @@ const addVariableClickers = skipExpandos => {
getVarElements()
.forEach(e => {
e.onclick = () => selectVar(e.innerText)
e.onmouseover = () => selectVar(e.innerText)
e.onmouseleave = () => selectVar('zzzzz')
e.ondblclick = () => {
let searchBox = getSearchBox()
@ -86,7 +87,7 @@ addFix(() => {
const styleSheet = document.createElement('style')
styleSheet.innerText = `
.${selectedClass} {
background: rgb(255, 253, 170) !important;
background: rgba(255, 253, 170, 0.1) !important;
border-radius: 3px;
padding: 2px !important;
margin: -2px !important;