Very great š
Setup OGProxy for use in NodeBB
-
for custom js script, API key is just on ACP/customJS and not on
/home/XXXX/domains/proxy.XXXXXX.XXX/ogproxy/function.js
file because not write in tuto -
@DownPW
function.js
is just the code that gets pasted into the custom JS console -
-
@DownPW can you change the key so itās 64bit? Just a theory I want to test. Youāll need to change it in the function and the server.js file.
-
Ok I will test now
-
Seem to be better. Just CSS problem I guess. I must see that
-
@DownPW yes, you can use the CSS I provided in the original post as a starting point.
Iām guessing that the server received a truncated API key because of the length so the authentication failed.
-
But see the second link, I donāt think itās a CSS problem no ?
-
@DownPW yes, try the CSS provided in the article.
-
Already Done.
It seems iām not be able to change text color after test. Idem with important -
@DownPW that may be your local CSS. I donāt think any of my code would prevent that
-
???
Example:
yep better with disable all the rest of my CSS code grrrrr
itās not going to be easy to find but it shows that there may be conflicts with the master CSS used
-
@DownPW I donāt think thatās in the list of classes I provided?
-
hmm yes
h4.card-site-title { color: var(--bs-body-color); text-transform: capitalize; }
-
@DownPW no. Look at your screenshot. The initial target is
#sitetitle
. Also, thereās no enforcement of!important
in that class. -
yes you are right.
I Have find the guilty: Itās my code to have an effect on URL link :
.posts .content a { color: var(--bs-link-color); /*background-image: linear-gradient(to right, var(--bs-link-color), var(--bs-link-color) 50%, var(--bs-link-hover-color) 50%);*/ background-image: linear-gradient(to right, var(--bs-link-hover-color), var(--bs-link-hover-color) 50%, var(--bs-link-color) 50%); background-size: 200% 100%; background-position: -100%; display: inline-block; padding: 5px 0; position: relative; -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: all 0.3s ease-in-out; } .posts .content a:hover { background-position: 0; } .posts .content a:hover::before{ width: 100%; }
-
But I wonder how to keep it without it coming into conflict with OGProxy, especially for the internal links to the site which do not have an iframe
-
@DownPW just needs carefully crafted CSS.
-
@DownPW said in Setup OGProxy for use in NodeBB:
especially for the internal links to the site which do not have an iframe
it works ??!!!
Internal links are also in an Iframe.
Very strange,I thought that was not the intended operation. -
@DownPW it wasnāt to start with, but I changed my mind š¤