I am trying to get the following script to work on the Google Chrome browser, it works fine in Firefox. What it does is put a "clean" button at the top of each tweetdeck column when you hover over it. When pressed the tweets in that column are cleared. The button shows up in the Chrome browser but when pressed nothing happens. Any help would be appreciated.
Thank
Bob
Code:// ==UserScript== // @name TweetDeck Clear Button // @namespace http://dvdbng.com // @description Adds a clear column button directly accesible // @include https://web.tweetdeck.com/* // ==/UserScript== var $ = unsafeWindow.jQuery; unsafeWindow.TD_mustaches["column/column_header.mustache"] = unsafeWindow.TD_mustaches["column/column_header.mustache"].replace('<div class="options-nav">','<div class="options-nav"><a class="GS_clean">clean</a>'); $(document.body).delegate(".GS_clean","click",function(){ $(this).parents(".column") .find("a[data-action=options]").click().end() .find("input[data-action=clear]").click().end() .find("a[data-action=options]").click() });


Reply With Quote
Bookmarks