Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pls Help! Search Word in Browser and Hide it
#1
I need a quick macro that searches for Words in the browser and hides them.
Im using twitter and the "Justin Bieber" hype makes me crazy. I dont want to read this word anymore.
Can someone help me with creating a Macro to hide this stupid words?

This is what i got so far:

Code:
Copy      Help
int twttr=win("*Twitter*" "MozillaUIWindowClass")
Acc e=acc("Bieber" "TEXT" win("Mozilla Firefox" "MozillaUIWindowClass") "MozillaContentWindowClass")

Im very bad in coding and i would be very glad if somebody could help me.
The person who helps me will get credit in the readme file of the macro.

Thank you in Advance!
#2
Example. Removes "WHO IS ONLINE" link in this page. Works in Internet Explorer.
Macro Macro1538
Code:
Copy      Help
;----
int w=wait(3 WV win("Quick Macros Forum" "IEFrame"))
Htm e=htm("A" "Who is online" "" w 0 23 0x21 3)
e.el.outerHTML=""
#3
Thank you for the quick response.
But what if the user gots Opera or Mozilla?
Maybe a Overlay of a black rectangle is easier because of users with different browser?

If i use this code, the Word will be replaced with "CENSORED"?
Code:
Copy      Help
e.el.outerHTML="CENSORED"
#4
Maybe this is better:
e.el.innerHTML="CENSORED"

It is possible to add an overlay window in IE and Firefox, but difficult and not reliable.
Look for browser additions or other software that removes HTML parts before displaying in browser. Also look for bookmarklets.


Forum Jump:


Users browsing this thread: 1 Guest(s)