Git Product home page Git Product logo

Comments (17)

Purfview avatar Purfview commented on May 12, 2024

I'm not sure what you meant, share the code for that site.

There is plenty of sites in the script with mPOST. Those links work with normal click, but doesn't work with right mouse click, probably it's possible to make them work on right clicks too, need to read on that issue.

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024
  'searchUrl': 'https://the.nextthing.club/imdbsearch.php',
  'mPOST': 'no_imdb_only=0&string=%tt%&year=&genres%5B%5D=0&countries%5B%5D=0&type%5B%5D=0',

it is a register needed forum that I needed to download this movie from
https://www.imdb.com/title/tt10423726/

when I add it to script and click on icon it goes to https://the.nextthing.club

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

Did you tried other sites with mPOST, like 'DVDCompare' or 'Lumiere'?

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

I tried with this
{ 'name': 'T2K',
'searchUrl': 'https://torrentz2k.xyz/search/',
'loggedOutRegex': /Ray ID|security check to access|Please turn JavaScript/,
'matchRegex': /No Results Found/,
'mPOST': 'q=%search_string%&category=tv&x=0&y=0',
'TV': true},
and this also doesnt work
it just opens the https://torrentz2k.xyz and not even https://torrentz2k.xyz/search

dvdcompare also doesnt work.
does it work for you?
you are on firefox or chromium?

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

dvdcompare also doesnt work.
does it work for you?

Yes it works. Must be something on your side, create new Firefox profile and try script there (so you can check if it's not some customization issue or interference from other plugin/script).

you are on firefox or chromium?

Neither. I use Waterfox Classic.

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

ok so when you use 'https://torrentz2k.xyz/search/'on say https://www.imdb.com/title/tt4052886/ clicking on its icon takes you where?

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

To the search results.

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

ok so I will investigate it on my side.
thanks a lot.
is there any thing you can think of that I may have done to caused that?

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

is there any thing you can think of that I may have done to caused that?

Only that what I mentioned in the second post and that you have javascript disabled (those buttons depends on it).

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

I have javascript enabled.
I dont know about the right click part because when I hover over icon it shows the address of website with no result and left clicking on it opens a new tab with the simple website hompage and not the result.

if there any way in firefox to add post parameter to a link at all? maybe if instead of icons you use form (last think I remember from reading about post and html) then it can be done?

but the more important part is why it works for you now and not for me. back to testing.

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

ok I created a empty firefox profile and added only the t2k search and used on lucifer imdb page.
but I cant test it because I get error (red around the icon) for t2k.
maybe it has got to do with the website using cloudflare shield.
now I cant test it.
UPDATE:
shit my fault.
I confused middle click with left one.
it works.
FML.

but if you can add right click too it would be great.

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

but if you can add right click too it would be great.

I'll add it to my todo list.

Sometimes websites does POST but they can work with GET too, check if that link works:
https://the.nextthing.club/imdbsearch.php?no_imdb_only=0&string=tt10423726&year=&genres%5B%5D=0&countries%5B%5D=0&type%5B%5D=0

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

thank you.
the link didnt work.

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

Now I remember why it doesn't work, the other onMouseDown method works with all mouse clicks, but by browsers it's treated as a popup, so you need to allow popups for imdb site and the right click context menu doesn't work on such icons.

You don't need to use middle/right click with this script, as all icons opens in a new tab anyway, so I'll leave it as it's now.

from imdb-scout-mod.

rezad1393 avatar rezad1393 commented on May 12, 2024

it seems that I didnt mess up.
now the left click doesnt open the search results again and opens the homepage again.
weird.
tested with both https://torrentz2k.xyz/ and https://the.nextthing.club

I have seen bugs like this in firefox that come and go.

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

It's on your side, only not a left mouse click or disabled javascript makes it to not work.
Try to turn off blocking addons.

from imdb-scout-mod.

Purfview avatar Purfview commented on May 12, 2024

now the left click doesnt open the search results again and opens the homepage again.
tested with both https://torrentz2k.xyz/ and https://the.nextthing.club

T2K wasn't working because site's search changed. Updated it in 11.1.

from imdb-scout-mod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.