MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / browser_save_bookmark

Function browser_save_bookmark

Scripts/Developer Base/Free Internet.py:1579–1585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1577
1578@app.route("/browser/bookmark")
1579def browser_save_bookmark():
1580 url = strip_tracking(request.args.get("url", "").strip())
1581 title = (request.args.get("title") or url).strip()
1582 if url:
1583 add_bookmark(title, url)
1584 flash("Bookmark saved.")
1585 return redirect(request.referrer or url_for("browser_home"))
1586
1587@app.route("/browser/bookmark/delete")
1588def browser_delete_bookmark():

Callers

nothing calls this directly

Calls 2

strip_trackingFunction · 0.70
add_bookmarkFunction · 0.70

Tested by

no test coverage detected