aboutsummaryrefslogtreecommitdiffhomepage
path: root/popup.html
blob: 79b7adde8ca5a31e838e26c089e5637d1f2cfdf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<html>
  <head>
    <title>Set Page Color Popup</title>
    <link rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css"/>
    <link rel="stylesheet" type="text/css" href="popup.css"/>
  </head>

  <center>
    <div id="app">
        <img src="icons/LogoSponsorBlocker256px.png" height="64px"/>

        <h1>SponsorBlock</h1>

        <!-- Loading text -->
        <p id="loadingIndicator">Loading...</p>

        <!-- Hidden until loading complete -->
        <div id="mainControls" class="main" style="display: none">
          <!-- If the video was found in the database -->
          <div id="videoFound">
              
          </div>

          <div id="downloadedSponsorMessageTimes">

          </div>
          
          <h2>Record the times of a sponsorship</h2>

          <p> 
            Click the button below when the sponsorship starts and ends to record and 
            submit it to the database.
          </p>
  
          <div>
            <button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button>
          </div>
    
          <div id="submissionSection" style="display: none">
            <h3>Latest Sponsor Message Times Chosen</h3>
            <b>
              <div id="sponsorMessageTimes">
      
              </div>
            </b>
    
            <button id="clearTimes" class="smallButton">Clear Times</button>
    
            <br/>
            <br/>
    
            <button id="submitTimes" style="display: none" class="smallButton">Submit Times</button>
          </div>

          <div id="optionsButtonContainer">
              <br/>
              <br/>
    
              <button id="optionsButton" class="dangerButton">Options</button>
          </div>

          <div id="options" style="display: none">
              <br/>

              <h3>Options</h3>
    
              <button id="hideVideoPlayerControls" class="warningButton">Hide Button On YouTube Player</button>
              <button id="showVideoPlayerControls" style="display: none" class="warningButton">Show Button On YouTube Player</button>
    
              <br/>
              <br/>
        
              <button id="showNoticeAgain" style="display: none" class="dangerButton">Show Notice Again</button>
          </div>
        </div>
      </div>
  </center>
  <script src="popup.js"></script>
</html>