Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

[JavaScript] Help needed with greasemonkey script! $10 reward

So, I need a script that will HIDE all facebook news ticks from a user.

The div itself looks like this:

Code
<div class="fbFeedTickerStory tickerStoryClickable" data-actor=".....

...

"><div class="tickerFeedMessage"><span class="fwb">Facebook User</span> shared a link.</div> </div></div></div></a></div>

So let's say I want all "Facebook User"'s news ticks hidden.

Make a working script & gimme your PayPal address and I will reward you with $10 as a gift. 🤝
Does that div have a name , a id or a unique attribute?
If it has a name you can try:
document.getElementsByName("name")[0].InnerHTML = "";
If it has a id you can try:
document.getElementById("id").InnerHTML = "";
if it has a unique attribute you can try:
document.getElementsByTagName("tagname")[0].InnerHTML = "";
(Aug 24, 2016 04:25 AM)bluewine Wrote:  Does that div have a name , a id or a unique attribute?
If it has a name you can try:
document.getElementsByName("name")[0].InnerHTML = "";
If it has a id you can try:
document.getElementById("id").InnerHTML = "";
if it has a unique attribute you can try:
document.getElementsByTagName("tagname")[0].InnerHTML = "";
unique attribute is inside the span class "fwb"
Code
<span class="fwb">Facebook User</span>


Possibly Related Threads...
Thread / Author Replies Views Last Post
by schaumathiasJul 11, 2020 06:39 AM 0 86 Jul 11, 2020 06:39 AM
Last Post: schaumathias
by Leroy Jethro GibbsApr 10, 2017 02:39 AM 6 205 Apr 10, 2017 02:39 AM
Last Post: Leroy Jethro Gibbs
by BuklauFeb 17, 2017 02:18 PM 3 154 Feb 17, 2017 02:18 PM
Last Post: Nachfolger