2

first I would like to state that I don't have much knowledge in code or programming.

I am aiming to open all collapsible items on a certain website that doesn't belong to me. The website is built in a way that only one collapsible item can be opened at a time, while I would like to open all items at once: Webpage screenshot

While inspecting the element I noticed that once an item is clicked its status changes from "display: none;" to "display: block;" I can successfully manually change all items from "display: none;" to "display: block;" However, I would like to find an easier way to do so since the webpage contains more than 200 items. Any suggestions on how I might be able to do so?

Here is what the code looks like in one out of 200 similar items-

<div class="meaning" data-font-size="17" data-font-size-type="px" data-line-height="24.2857px" style="display: none;">לפחות</div>

Thanks!!

ari fattal
  • 25
  • 6

2 Answers2

1

If the site has jQuery (try "$" in the console) you can find all the class="meaning" elements with $(".meaning") and then show() them. Like this:

$(".meaning").show()
Juho Rutila
  • 1,951
  • 21
  • 32
1

If the site has jquery you can use

$(".meaning").css("display", "block");
$(".meaning").css("display", "none");
Joachim Haglund
  • 717
  • 5
  • 12