1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

[BridgeCard] add example value to info hint and allow using it by right click (#3726)

This commit is contained in:
User123698745
2023-10-02 03:02:57 +02:00
committed by GitHub
parent 64582a64f1
commit 59dd49671d
2 changed files with 17 additions and 2 deletions

View File

@@ -48,6 +48,12 @@ function rssbridge_toggle_bridge(){
}
}
function rssbridge_use_placeholder_value(sender) {
let inputId = sender.getAttribute('data-for');
let inputElement = document.getElementById(inputId);
inputElement.value = inputElement.getAttribute("placeholder");
}
var rssbridge_feed_finder = (function() {
/*
* Code for "Find feed by URL" feature